-
Notifications
You must be signed in to change notification settings - Fork 38
/
Copy pathCargo.toml
51 lines (44 loc) · 1.96 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
[package]
name = "secp256k1-zkp"
version = "0.11.0"
authors = [ "Dawid Ciężarkiewicz <[email protected]>",
"Andrew Poelstra <[email protected]>",
"Lucas Soriano <[email protected]>",
"Thomas Eizinger <[email protected]>" ]
license = "CC0-1.0"
homepage = "https://github.com/ElementsProject/rust-secp256k1-zkp/"
repository = "https://github.com/ElementsProject/rust-secp256k1-zkp/"
description = "Rust bindings for the `libsecp256k1-zkp` library."
keywords = [ "crypto", "ECDSA", "secp256k1-zkp", "libsecp256k1-zkp", "elements" ]
readme = "README.md"
autoexamples = false # Remove when edition 2018 https://github.com/rust-lang/cargo/issues/5330
edition = "2018"
# Should make docs.rs show all functions, even those behind non-default features
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[features]
default = ["std"]
std = ["secp256k1-zkp-sys/std", "secp256k1/std"]
rand-std = ["actual-rand/std", "secp256k1/rand-std"]
recovery = ["secp256k1-zkp-sys/recovery", "secp256k1/recovery"]
lowmemory = ["secp256k1-zkp-sys/lowmemory", "secp256k1/lowmemory"]
global-context = ["std", "rand-std", "secp256k1/global-context"]
hashes = ["secp256k1/hashes"]
serde = ["actual-serde", "secp256k1/serde"]
rand = ["actual-rand", "secp256k1/rand"]
[dependencies]
actual-serde = { package = "serde", version = "1.0", default-features = false, optional = true }
actual-rand = { package = "rand", version = "0.8", default-features = false, optional = true }
secp256k1 = "0.29.0"
secp256k1-zkp-sys = { version = "0.10.0", default-features = false, path = "./secp256k1-zkp-sys" }
internals = { package = "bitcoin-private", version = "0.1.0" }
[dev-dependencies]
serde_test = "1.0"
[target.wasm32-unknown-unknown.dev-dependencies]
wasm-bindgen-test = "0.3"
getrandom = { version = "0.2", features = ["js"] }
[lib]
crate-type = ["cdylib", "rlib"]
[lints.rust]
unexpected_cfgs = { level = "deny", check-cfg = [ "cfg(rust_secp_fuzz)" ] }