11[package ]
22
33name = " secp256k1"
4- version = " 0.16.1 "
4+ version = " 0.17.0 "
55authors = [ " Dawid Ciężarkiewicz <dpc@ucore.info>" ,
66 " Andrew Poelstra <apoelstra@wpsoftware.net>" ]
77license = " CC0-1.0"
@@ -11,34 +11,34 @@ documentation = "https://docs.rs/secp256k1/"
1111description = " Rust bindings for Pieter Wuille's `libsecp256k1` library. Implements ECDSA for the SECG elliptic curve group secp256k1 and related utilities."
1212keywords = [ " crypto" , " ECDSA" , " secp256k1" , " libsecp256k1" , " bitcoin" ]
1313readme = " README.md"
14- build = " build.rs"
15- links = " secp256k1"
1614autoexamples = false # Remove when edition 2018 https://github.com/rust-lang/cargo/issues/5330
1715
1816# Should make docs.rs show all functions, even those behind non-default features
1917[package .metadata .docs .rs ]
2018features = [ " rand" , " rand-std" , " serde" , " recovery" , " endomorphism" ]
2119
22- [build-dependencies ]
23- cc = " >= 1.0.28, < 1.0.42"
24-
2520[lib ]
2621name = " secp256k1"
2722path = " src/lib.rs"
2823
2924[features ]
3025unstable = []
3126default = [" std" ]
32- std = []
27+ std = [" secp256k1-sys/std " ]
3328rand-std = [" rand/std" ]
34- recovery = []
35- endomorphism = []
36- lowmemory = []
29+ recovery = [" secp256k1-sys/recovery" ]
30+ endomorphism = [" secp256k1-sys/endomorphism" ]
31+ lowmemory = [" secp256k1-sys/lowmemory" ]
32+
33+ # Use this feature to not compile the bundled libsecp256k1 C symbols,
34+ # but use external ones. Use this only if you know what you are doing!
35+ external-symbols = [" secp256k1-sys/external-symbols" ]
3736
38- # Do not use this feature! HAZMAT. (meant for Bitcoin Core only)
39- dont_replace_c_symbols = []
4037# Do not use this feature! HAZMAT. (meant for Fuzzing only. this is *BROKEN CRYPTOGRAPHY*)
41- fuzztarget = []
38+ fuzztarget = [" secp256k1-sys/fuzztarget" ]
39+
40+ [dependencies ]
41+ secp256k1-sys = { version = " 0.1.0" , default-features = false , path = " ./secp256k1-sys" }
4242
4343[dev-dependencies ]
4444rand = " 0.6"
0 commit comments