Skip to content

Commit

Permalink
Reduce runtime test dependencies by half
Browse files Browse the repository at this point in the history
  • Loading branch information
sea212 committed Aug 23, 2023
1 parent 9646a85 commit fe589a5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion runtime/battery-station/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ polkadot-runtime-parachains = { workspace = true, optional = true }
rococo-runtime = { workspace = true, optional = true }
xcm = { workspace = true, optional = true }
xcm-builder = { workspace = true, optional = true }
xcm-emulator = { workspace = true, optional = true }
xcm-executor = { workspace = true, optional = true }

# Zeitgeist
Expand All @@ -123,7 +124,6 @@ zrml-swaps-runtime-api = { workspace = true }
[dev-dependencies]
sp-io = { workspace = true, features = ["default"] }
test-case = { workspace = true }
xcm-emulator = { workspace = true }

[features]
default = ["std"]
Expand Down Expand Up @@ -160,6 +160,7 @@ parachain = [
"polkadot-runtime-parachains",
"rococo-runtime",
"xcm-builder",
"xcm-emulator",
"xcm-executor",
"xcm",

Expand Down
3 changes: 2 additions & 1 deletion runtime/zeitgeist/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ polkadot-runtime = { workspace = true, optional = true }
polkadot-runtime-parachains = { workspace = true, optional = true }
xcm = { workspace = true, optional = true }
xcm-builder = { workspace = true, optional = true }
xcm-emulator = { workspace = true, optional = true }
xcm-executor = { workspace = true, optional = true }

# Zeitgeist
Expand All @@ -122,7 +123,6 @@ zrml-swaps-runtime-api = { workspace = true }
env_logger = "0.9"
sp-io = { workspace = true, features = ["default"] }
test-case = { workspace = true }
xcm-emulator = { workspace = true }

[features]
default = ["std"]
Expand Down Expand Up @@ -159,6 +159,7 @@ parachain = [
"orml-xtokens",
"pallet-xcm",
"xcm-builder",
"xcm-emulator",
"xcm-executor",
"xcm",

Expand Down

0 comments on commit fe589a5

Please sign in to comment.