1
1
[package ]
2
2
3
3
name = " secp256k1"
4
- version = " 0.16.1 "
4
+ version = " 0.17.0 "
5
5
authors = [
" Dawid Ciężarkiewicz <[email protected] >" ,
6
6
" Andrew Poelstra <[email protected] >" ]
7
7
license = " CC0-1.0"
@@ -11,34 +11,34 @@ documentation = "https://docs.rs/secp256k1/"
11
11
description = " Rust bindings for Pieter Wuille's `libsecp256k1` library. Implements ECDSA for the SECG elliptic curve group secp256k1 and related utilities."
12
12
keywords = [ " crypto" , " ECDSA" , " secp256k1" , " libsecp256k1" , " bitcoin" ]
13
13
readme = " README.md"
14
- build = " build.rs"
15
- links = " secp256k1"
16
14
autoexamples = false # Remove when edition 2018 https://github.com/rust-lang/cargo/issues/5330
17
15
18
16
# Should make docs.rs show all functions, even those behind non-default features
19
17
[package .metadata .docs .rs ]
20
18
features = [ " rand" , " rand-std" , " serde" , " recovery" , " endomorphism" ]
21
19
22
- [build-dependencies ]
23
- cc = " >= 1.0.28, < 1.0.42"
24
-
25
20
[lib ]
26
21
name = " secp256k1"
27
22
path = " src/lib.rs"
28
23
29
24
[features ]
30
25
unstable = []
31
26
default = [" std" ]
32
- std = []
27
+ std = [" secp256k1-sys/std " ]
33
28
rand-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" ]
37
36
38
- # Do not use this feature! HAZMAT. (meant for Bitcoin Core only)
39
- dont_replace_c_symbols = []
40
37
# 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" }
42
42
43
43
[dev-dependencies ]
44
44
rand = " 0.6"
0 commit comments