Skip to content

Commit a0f8f6d

Browse files
committed
Use correct deranged features
1 parent a8c4388 commit a0f8f6d

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

crates/e2e/Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ sp-io = { git = "https://github.com/paritytech/polkadot-sdk", rev = "28a7ae71cc0
5353
sp-runtime-interface = { git = "https://github.com/paritytech/polkadot-sdk", rev = "28a7ae71cc0eac747bf346804279217a68f700da", default-features = false, features = ["disable_target_static_assertions"] }
5454

5555
# todo Pin until https://github.com/jhpratt/deranged/issues/18 is resolved
56-
deranged = "=0.4.0"
56+
deranged = { version = "=0.4.0", default-features = false }
5757

5858
[dev-dependencies]
5959
# Required for the doctest of `MessageBuilder::call`
@@ -62,6 +62,7 @@ scale-info = { workspace = true, features = ["derive"] }
6262
[features]
6363
default = [ "std" ]
6464
std = [
65+
"deranged/std",
6566
"impl-serde/std",
6667
"ink_e2e_macro/std",
6768
"pallet-revive/std",

crates/ink/Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ sp-io = { git = "https://github.com/paritytech/polkadot-sdk", rev = "28a7ae71cc0
3737
sp-runtime-interface = { git = "https://github.com/paritytech/polkadot-sdk", rev = "28a7ae71cc0eac747bf346804279217a68f700da", default-features = false, features = ["disable_target_static_assertions"] }
3838

3939
# todo pin until https://github.com/jhpratt/deranged/issues/18 is resolved
40-
deranged = "=0.4.0"
40+
deranged = { version = "=0.4.0", default-features = false }
4141

4242
[dev-dependencies]
4343
ink_ir = { workspace = true, default-features = true }
@@ -48,6 +48,7 @@ trybuild = { workspace = true, features = ["diff"] }
4848
default = ["std"]
4949
std = [
5050
"alloy-sol-types/std",
51+
"deranged/std",
5152
"ink_env/std",
5253
"ink_macro/std",
5354
"ink_metadata/std",

0 commit comments

Comments
 (0)