Skip to content

Commit

Permalink
Use kvs 'cli' for default binary on cargo run
Browse files Browse the repository at this point in the history
  • Loading branch information
weezy20 committed Oct 24, 2023
1 parent a575312 commit a430aeb
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 7 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
target
*.log
*.index
15 changes: 8 additions & 7 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,18 +1,19 @@
[workspace.package]
name = "kvstore"
authors = ["Abhishek Shah <[email protected]>"]
description = "A key-value store called kvs"
edition = "2021"
name = "kvstore"
# licenses = ["MIT"]
version = "1.2.0"

[package]
authors.workspace = true
description = "A key-value store called kvs"
# licenses.workspace = true
edition = {workspace = true}
name = "kvs"
edition = { workspace = true }
version = { workspace = true }
version = {workspace = true}
default-run = "kvs"

[[bin]]
description = "kvs cli to interact with kvs library"
Expand All @@ -37,21 +38,21 @@ test = false
members = ["crates/kvs-client", "crates/kvs-server"]

[dependencies]
clap = { version = "4.1.6", features = ["derive"] }
clap = {version = "4.1.6", features = ["derive"]}
dotenv = "0.15.0"
env_logger = "0.10.0"
lazy_static = "1.4.0"
log = "0.4.20"
ron = "0.8.1"
serde = { version = "1.0.188", features = ["derive"] }
serde = {version = "1.0.188", features = ["derive"]}
serde_json = "1.0.104"
thiserror = "1.0.38"

[workspace.dependencies]
kvs = { path = "." }
clap = { version = "4.1.6", features = ["derive"] }
clap = {version = "4.1.6", features = ["derive"]}
dotenv = "0.15.0"
env_logger = "0.10.0"
kvs = {path = "."}
lazy_static = "1.4.0"
log = "0.4.20"
ron = "0.8.1"
Expand Down

0 comments on commit a430aeb

Please sign in to comment.