Skip to content

Commit 847ee94

Browse files
committed
Using serde/alloc and serde/std with corresponding features
1 parent 05f4278 commit 847ee94

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ features = [ "rand", "rand-std", "serde", "recovery" ]
1919
[features]
2020
unstable = ["recovery", "rand-std"]
2121
default = ["std"]
22-
std = ["secp256k1-sys/std"]
22+
std = ["secp256k1-sys/std", "serde/std"]
2323
# allow use of Secp256k1::new and related API that requires an allocator
24-
alloc = []
24+
alloc = ["serde/alloc"]
2525
rand-std = ["rand/std"]
2626
recovery = ["secp256k1-sys/recovery"]
2727
lowmemory = ["secp256k1-sys/lowmemory"]

0 commit comments

Comments
 (0)