Skip to content

Commit

Permalink
fix features of fp-account dependencies (#1025)
Browse files Browse the repository at this point in the history
* fix features of fp-account dependencies

* make impl-serde optional
  • Loading branch information
koushiro authored Mar 23, 2023
1 parent ce490e2 commit d13668c
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 7 deletions.
2 changes: 1 addition & 1 deletion frame/evm/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@ std = [
"sp-runtime/std",
"sp-std/std",
# Frontier
"fp-evm/std",
"fp-account/std",
"fp-evm/std",
]
runtime-benchmarks = [
"frame-benchmarking/runtime-benchmarks",
Expand Down
16 changes: 10 additions & 6 deletions primitives/account/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,14 @@ repository = { workspace = true }

[dependencies]
hex = { version = "0.4.3", default-features = false }
impl-serde = { workspace = true }
libsecp256k1 = { workspace = true, default-features = false }
impl-serde = { workspace = true, optional = true }
libsecp256k1 = { workspace = true }
log = { workspace = true }
scale-codec = { package = "parity-scale-codec", workspace = true }
scale-info = { workspace = true }
serde = { workspace = true }
serde = { workspace = true, optional = true }

# Substrate
sp-core = { workspace = true }
sp-io = { workspace = true }
sp-runtime = { workspace = true }
Expand All @@ -25,14 +27,16 @@ sp-std = { workspace = true }
[features]
default = ["std"]
std = [
"impl-serde/std",
"hex/std",
"impl-serde/std",
"libsecp256k1/std",
"log/std",
"serde/std",
"scale-codec/std",
"scale-info/std",
"serde",
# Substrate
"sp-io/std",
"sp-core/std",
"sp-io/std",
"sp-runtime/std",
"sp-std/std",
]

0 comments on commit d13668c

Please sign in to comment.