Skip to content

Commit a3720f2

Browse files
committed
Restricting cli binary to client + server
Closes khonsulabs#257
1 parent b4b2840 commit a3720f2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

crates/bonsaidb/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ rust-version = "1.65"
1515
[[bin]]
1616
name = "bonsaidb"
1717
path = "src/main.rs"
18-
required-features = ["cli"]
18+
required-features = ["cli", "client", "server"]
1919

2020
[[test]]
2121
name = "core-suite"

crates/bonsaidb/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ pub use bonsaidb_local as local;
3030
pub use bonsaidb_server as server;
3131
#[cfg(all(feature = "client", feature = "server"))]
3232
mod any_connection;
33-
#[cfg(feature = "cli")]
33+
#[cfg(all(feature = "cli", feature = "client", feature = "server"))]
3434
pub mod cli;
3535

3636
/// `VaultKeyStorage` implementors.

0 commit comments

Comments
 (0)