Skip to content

Commit

Permalink
Fixing feature flag dependencies
Browse files Browse the repository at this point in the history
- For convenience, directly including bonsaidb-local works and includes
  the 'full' features by default. The reference in keystorage-s3 was
  enabling full again.
- cli was enabling client-full, but there is no client cli currently,
  and that will not be the correct choice if there is one.
  • Loading branch information
ecton committed Nov 10, 2021
1 parent bb5fdb7 commit 52482ad
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 deletions.
2 changes: 1 addition & 1 deletion crates/bonsaidb-keystorage-s3/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ rust-s3 = { version = "0.27", default-features = false, features = [
"with-tokio",
"tokio-rustls-tls",
] }
bonsaidb-local = { version = "0.1.0-dev.4", path = "../bonsaidb-local" }
bonsaidb-local = { version = "0.1.0-dev.4", path = "../bonsaidb-local", default-features = false }
async-trait = "0.1"
anyhow = "1"

Expand Down
10 changes: 1 addition & 9 deletions crates/bonsaidb/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -81,15 +81,7 @@ bincode = ["bonsaidb-core/bincode"]

keystorage-s3 = ["bonsaidb-keystorage-s3"]

cli = [
"anyhow",
"tokio",
"structopt",
"url",
"client-full",
"local-cli",
"server-cli",
]
cli = ["anyhow", "tokio", "structopt", "url", "local-cli", "server-cli"]
local-cli = ["bonsaidb-local/cli"]
server-cli = ["bonsaidb-server/cli"]

Expand Down

0 comments on commit 52482ad

Please sign in to comment.