Skip to content

Commit 3b1367a

Browse files
committed
chore(client): remove deprecated fflags
1 parent 182f6fa commit 3b1367a

File tree

1 file changed

+7
-13
lines changed

1 file changed

+7
-13
lines changed

client/Cargo.toml

Lines changed: 7 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,14 @@ authors = ["Renlabs <[email protected]>"]
66
description = "Torus substrate client library using subxt"
77
license = "MIT"
88

9-
[dependencies]
9+
[features]
10+
default = ["std", "mainnet"]
11+
std = ["codec/std", "codec/derive", "codec/max-encoded-len", "scale-info/std"]
1012

13+
mainnet = []
14+
testnet = []
15+
16+
[dependencies]
1117
anyhow = "1.0.98"
1218

1319
codec = { package = "parity-scale-codec", version = "3.6.12", default-features = false }
@@ -39,15 +45,3 @@ paste = "1.0.15"
3945
tokio = { version = "1.35", features = ["macros", "time", "rt-multi-thread"] }
4046
torus-client-codegen = { path = "codegen" }
4147

42-
[features]
43-
44-
default = ["std", "mainnet"]
45-
std = ["codec/std", "codec/derive", "codec/max-encoded-len", "scale-info/std"]
46-
47-
# Network-specific features
48-
mainnet = []
49-
testnet = []
50-
dev = []
51-
52-
# Enable all networks
53-
all-networks = ["mainnet", "testnet", "dev"]

0 commit comments

Comments
 (0)