Skip to content

Commit

Permalink
chore: remove unused rustc-hex deps; enable rustc-hex for primitive-t…
Browse files Browse the repository at this point in the history
…ypes in sp-core (paritytech#4860)

Some primitives have impl Hex related traits enabled by `rustc-hex`
feature. People wanna use H256/H160 maybe need these trait impls

---------

Co-authored-by: command-bot <>
Co-authored-by: Bastian Köcher <git@kchr.de>
  • Loading branch information
yjhmelody and bkchr authored Jun 25, 2024
1 parent 909bfc2 commit a406dd5
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 8 deletions.
3 changes: 0 additions & 3 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion bridges/snowbridge/primitives/router/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ snowbridge-core = { workspace = true }
hex-literal = { workspace = true, default-features = true }

[dev-dependencies]
rustc-hex = { workspace = true, default-features = true }

[features]
default = ["std"]
Expand Down
2 changes: 0 additions & 2 deletions polkadot/runtime/parachains/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ impl-trait-for-tuples = { workspace = true }
bitvec = { features = ["alloc"], workspace = true }
codec = { features = ["derive", "max-encoded-len"], workspace = true }
log = { workspace = true }
rustc-hex = { workspace = true }
scale-info = { features = ["derive"], workspace = true }
serde = { features = ["alloc", "derive"], workspace = true }
derive_more = { workspace = true, default-features = true }
Expand Down Expand Up @@ -98,7 +97,6 @@ std = [
"polkadot-runtime-metrics/std",
"rand/std",
"rand_chacha/std",
"rustc-hex/std",
"scale-info/std",
"serde/std",
"sp-api/std",
Expand Down
2 changes: 0 additions & 2 deletions polkadot/runtime/westend/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ bitvec = { features = ["alloc"], workspace = true }
codec = { features = ["derive", "max-encoded-len"], workspace = true }
scale-info = { features = ["derive"], workspace = true }
log = { workspace = true }
rustc-hex = { workspace = true }
serde = { workspace = true }
serde_derive = { optional = true, workspace = true }
smallvec = { workspace = true, default-features = true }
Expand Down Expand Up @@ -201,7 +200,6 @@ std = [
"polkadot-primitives/std",
"polkadot-runtime-common/std",
"polkadot-runtime-parachains/std",
"rustc-hex/std",
"scale-info/std",
"serde/std",
"serde_derive",
Expand Down

0 comments on commit a406dd5

Please sign in to comment.