-
Notifications
You must be signed in to change notification settings - Fork 1
/
Cargo.toml
43 lines (39 loc) · 1.69 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
[package]
name = "secp"
version = "0.4.1"
edition = "2021"
authors = ["conduition <conduition@proton.me>"]
description = "A flexible and secure secp256k1 elliptic curve math library with constant-time support and superb ergonomics."
readme = "README.md"
license = "Unlicense"
repository = "https://github.com/conduition/secp"
keywords = ["secp256k1", "k256", "elliptic", "curve", "schnorr"]
[dependencies]
base16ct = { version = "0.2", default-features = false }
crypto-bigint = { version = "0.5", default-features = false, optional = true }
k256 = { version = "0.13", optional = true, default-features = false, features = ["std", "arithmetic"] }
num-traits = { version = "0.2", default-features = false, optional = true }
once_cell = { version = "1.18", default-features = false, features = ["std"] }
rand = { version = "0.8", optional = true, default-features = false }
secp256k1 = { version = "0.30", optional = true, default-features = false, features = ["std"] }
serde = { version = "1.0", default-features = false, optional = true }
serdect = { version = "0.2", default-features = false, optional = true, features = ["alloc"] }
subtle = { version = "2", default-features = false, features = ["std", "const-generics"] }
[dev-dependencies]
serde = { version = "1.0.188", features = ["serde_derive"] }
serde_json = "1.0.107"
hex = "0.4.3"
crypto-bigint = "0.5.3"
rand = "0.8.5"
sha2 = "0.10.8"
[features]
default = ["secp256k1"]
cli-rng = ["rand", "rand/std"]
secp256k1 = ["dep:secp256k1"]
k256 = ["dep:k256"]
serde = ["dep:serde", "secp256k1?/serde", "dep:serdect"]
rand = ["dep:rand", "secp256k1?/rand"]
secp256k1-invert = ["dep:crypto-bigint"]
num-traits = ["dep:num-traits"]
[package.metadata.docs.rs]
all-features = true