[package] name = "secp" version = "0.4.1" edition = "2021" authors = ["conduition "] 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