diff --git a/Cargo.lock b/Cargo.lock index 698607e7c..ee0933379 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -9193,13 +9193,10 @@ version = "0.1.0" dependencies = [ "node-subtensor", "node-subtensor-runtime", - "pallet-commitments", - "pallet-subtensor", "proc-macro2", "quote", "rayon", "subtensor-linting", - "subtensor-macros", "syn 2.0.71", "walkdir", ] diff --git a/Cargo.toml b/Cargo.toml index b8fe8c4d4..e3c2814ff 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -11,10 +11,7 @@ repository = "https://github.com/opentensor/subtensor" [dependencies] node-subtensor = { path = "node", version = "4.0.0-dev" } -pallet-commitments = { path = "pallets/commitments", version = "4.0.0-dev" } -pallet-subtensor = { path = "pallets/subtensor", version = "4.0.0-dev" } node-subtensor-runtime = { path = "runtime", version = "4.0.0-dev" } -subtensor-macros = { path = "support/macros", version = "0.1.0" } [build-dependencies] subtensor-linting = { path = "support/linting", version = "0.1.0" } @@ -167,3 +164,8 @@ opt-level = 3 inherits = "release" lto = true codegen-units = 1 + +[features] +default = [] +try-runtime = ["node-subtensor/try-runtime", "node-subtensor-runtime/try-runtime"] +runtime-benchmarks = ["node-subtensor/runtime-benchmarks", "node-subtensor-runtime/runtime-benchmarks"]