Skip to content

Commit

Permalink
optional deps for add-pallet
Browse files Browse the repository at this point in the history
  • Loading branch information
weezy20 committed Mar 17, 2024
1 parent b122568 commit 9ff1318
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 9 deletions.
30 changes: 21 additions & 9 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,19 +28,16 @@ tempfile = "3.8"
tokio = { version = "1.0", features = ["macros", "rt-multi-thread"] }
url = { version = "2.5", optional = true }
walkdir = "2.4"
frame-support-procedural-tools = "9.0.0"
proc-macro2 = { version = "1.0.70", features = ["span-locations"] }
quote = "1.0.33"
syn = { version = "2.0.52", features = ["full"] }
cfg-expr = "0.15.5"
prettyplease = "0.2.15"
toml_edit = { version = "0.22.7" }

# contracts
contract-build = { version = "4.0.0-rc.3", optional = true }
contract-extrinsics = { version = "4.0.0-rc.3", optional = true }
sp-core = { version = "30.0.0", optional = true }
subxt-signer = { version = "0.34.0", features = ["subxt", "sr25519"], optional = true }
subxt-signer = { version = "0.34.0", features = [
"subxt",
"sr25519",
], optional = true }
subxt = { version = "0.34.0", optional = true }
ink_env = { version = "5.0.0-rc.2", optional = true }
sp-weights = { version = "29.0.0", optional = true }
Expand All @@ -56,7 +53,15 @@ symlink = { version = "0.1", optional = true }
tracing-subscriber = { version = "0.3", optional = true }
zombienet-sdk = { git = "https://github.com/r0gue-io/zombienet-sdk", branch = "pop", optional = true }
zombienet-support = { git = "https://github.com/r0gue-io/zombienet-sdk", branch = "pop", optional = true }
uuid = { version = "1.7.0", features = ["v4"] }
uuid = { version = "1.7.0", features = ["v4"], optional = true }
frame-support-procedural-tools = { version = "9.0.0", optional = true }
proc-macro2 = { version = "1.0.70", features = [
"span-locations",
], optional = true }
quote = { version = "1.0.33", optional = true }
syn = { version = "2.0.52", features = ["full"], optional = true }
cfg-expr = { version = "0.15.5", optional = true }
prettyplease = { version = "0.2.15", optional = true }

[features]
default = ["contract", "parachain"]
Expand All @@ -79,5 +84,12 @@ parachain = [
"dep:tracing-subscriber",
"dep:url",
"dep:zombienet-sdk",
"dep:zombienet-support"
"dep:zombienet-support",
"uuid",
"frame-support-procedural-tools",
"proc-macro2",
"quote",
"syn",
"cfg-expr",
"prettyplease",
]
1 change: 1 addition & 0 deletions src/helpers.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#![allow(unused)]
use anyhow::Result;
use cliclack::{log, outro_cancel};
use git2::Repository;
Expand Down

0 comments on commit 9ff1318

Please sign in to comment.