diff --git a/bin/node/cli/Cargo.toml b/bin/node/cli/Cargo.toml index ca9b25b6e75f3..e82032e5deaff 100644 --- a/bin/node/cli/Cargo.toml +++ b/bin/node/cli/Cargo.toml @@ -100,14 +100,14 @@ node-executor = { version = "3.0.0-dev", path = "../executor" } # CLI-specific dependencies sc-cli = { version = "0.10.0-dev", optional = true, path = "../../../client/cli" } -frame-benchmarking-cli = { version = "4.0.0-dev", optional = true, path = "../../../utils/frame/benchmarking-cli" } +frame-benchmarking-cli = { version = "4.0.0-dev", default-features = false, optional = true, path = "../../../utils/frame/benchmarking-cli" } node-inspect = { version = "0.9.0-dev", optional = true, path = "../inspect" } try-runtime-cli = { version = "0.10.0-dev", optional = true, path = "../../../utils/frame/try-runtime/cli" } serde_json = "1.0.85" [dev-dependencies] sc-keystore = { version = "4.0.0-dev", path = "../../../client/keystore" } -sc-client-db = { version = "0.10.0-dev", path = "../../../client/db" } +sc-client-db = { version = "0.10.0-dev", default-features = false, path = "../../../client/db" } sc-consensus = { version = "0.10.0-dev", path = "../../../client/consensus/common" } sc-consensus-babe = { version = "0.10.0-dev", path = "../../../client/consensus/babe" } sc-consensus-epochs = { version = "0.10.0-dev", path = "../../../client/consensus/epochs" } @@ -135,22 +135,28 @@ substrate-cli-test-utils = { path = "../../../test-utils/cli" } clap = { version = "4.2.5", optional = true } clap_complete = { version = "4.0.2", optional = true } node-inspect = { version = "0.9.0-dev", optional = true, path = "../inspect" } -frame-benchmarking-cli = { version = "4.0.0-dev", optional = true, path = "../../../utils/frame/benchmarking-cli" } +frame-benchmarking-cli = { version = "4.0.0-dev", optional = true, default-features = false, path = "../../../utils/frame/benchmarking-cli" } substrate-build-script-utils = { version = "3.0.0", optional = true, path = "../../../utils/build-script-utils" } substrate-frame-cli = { version = "4.0.0-dev", optional = true, path = "../../../utils/frame/frame-utilities-cli" } try-runtime-cli = { version = "0.10.0-dev", optional = true, path = "../../../utils/frame/try-runtime/cli" } -sc-cli = { version = "0.10.0-dev", path = "../../../client/cli", optional = true } +sc-cli = { version = "0.10.0-dev", path = "../../../client/cli", default-features = false, optional = true } pallet-balances = { version = "4.0.0-dev", path = "../../../frame/balances" } sc-storage-monitor = { version = "0.1.0", path = "../../../client/storage-monitor" } [features] -default = ["cli"] +default = ["cli", "rocksdb"] +rocksdb = [ + "cli", + "sc-client-db/rocksdb", + "frame-benchmarking-cli/rocksdb", + "sc-cli/rocksdb", + "sc-service/rocksdb" +] cli = [ "node-inspect", "sc-cli", "frame-benchmarking-cli", "substrate-frame-cli", - "sc-service/rocksdb", "clap", "clap_complete", "substrate-build-script-utils",