diff options
author | Alex Auvolat <alex@adnab.me> | 2022-06-03 11:44:41 +0200 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2022-06-03 11:44:41 +0200 |
commit | df0877bbba91d210fa8a91bd095ca13e0ea2176f (patch) | |
tree | ba76018818ff1afb5e84fbda0dc91f802e806142 /src/db/Cargo.toml | |
parent | cc0d984118e345c72341ff12d74b1c35deb20ae8 (diff) | |
download | garage-df0877bbba91d210fa8a91bd095ca13e0ea2176f.tar.gz garage-df0877bbba91d210fa8a91bd095ca13e0ea2176f.zip |
Conversion utility
Diffstat (limited to 'src/db/Cargo.toml')
-rw-r--r-- | src/db/Cargo.toml | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/db/Cargo.toml b/src/db/Cargo.toml index ca189a67..22abc0b9 100644 --- a/src/db/Cargo.toml +++ b/src/db/Cargo.toml @@ -11,7 +11,10 @@ readme = "../../README.md" [lib] path = "lib.rs" -# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html +[[bin]] +name = "convert" +path = "bin/convert.rs" +required-features = ["cli"] [dependencies] err-derive = "0.3" @@ -20,5 +23,11 @@ hexdump = "0.1" sled = "0.34" rusqlite = "0.27" +# cli deps +clap = { version = "3.1.18", optional = true, features = ["derive", "env"] } + [dev-dependencies] mktemp = "0.4" + +[features] +cli = ["clap"] |