Skip to content

Commit

Permalink
Split crate into two separate packages
Browse files Browse the repository at this point in the history
  • Loading branch information
tgross35 committed Jan 18, 2024
1 parent aed94b9 commit 97712dd
Show file tree
Hide file tree
Showing 6 changed files with 47 additions and 27 deletions.
17 changes: 13 additions & 4 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

29 changes: 6 additions & 23 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,23 +1,6 @@
[package]
name = "zspell-index"
version = "0.2.0"
edition = "2021"
license = "Apache-2.0"
description = "Index format for the Zspell spellchecker"
repository = "https://github.com/pluots/zspell-index"

[dependencies]
anyhow = "1.0.79"
chrono = { version = "0.4.31", features = ["serde"] }
serde = { version = "1.0.195", features = ["derive"] }
serde_json = "1.0.111"
ureq = { version = "2.9.1", features = ["json"] }
uuid = { version = "1.6.1", features = ["serde", "v7"] }

[lib]
name = "zspell_index"
path = "src/lib.rs"

[[bin]]
name = "zspell-index-cli"
path = "src/main.rs"
[workspace]
resolver = "2"
members = [
"zspell-index",
"zspell-index-cli",
]
16 changes: 16 additions & 0 deletions zspell-index-cli/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
[package]
name = "cargo-index-cli"
version = "0.2.1"
edition = "2021"
license = "Apache-2.0"
description = "CLI to generate a ZSpell index"
repository = "https://github.com/pluots/zspell-index"
publish = false

[dependencies]
anyhow = "1.0.79"
serde = { version = "1.0.195", features = ["derive"] }
serde_json = "1.0.111"
ureq = { version = "2.9.1", features = ["json"] }
uuid = { version = "1.6.1", features = ["serde", "v7"] }
zspell-index = { path = "../zspell-index", version = "0.2" }
File renamed without changes.
12 changes: 12 additions & 0 deletions zspell-index/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
[package]
name = "zspell-index"
version = "0.2.1"
edition = "2021"
license = "Apache-2.0"
description = "Index format for the ZSpell spellchecker"
repository = "https://github.com/pluots/zspell-index"

[dependencies]
chrono = { version = "0.4.31", features = ["serde"] }
serde = { version = "1.0.195", features = ["derive"] }
uuid = { version = "1.6.1", features = ["serde", "v7"] }
File renamed without changes.

0 comments on commit 97712dd

Please sign in to comment.