# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "secp" version = "0.4.1" authors = ["conduition "] description = "A flexible and secure secp256k1 elliptic curve math library with constant-time support and superb ergonomics." readme = "README.md" keywords = [ "secp256k1", "k256", "elliptic", "curve", "schnorr", ] license = "Unlicense" repository = "https://github.com/conduition/secp" [package.metadata.docs.rs] all-features = true [dependencies.base16ct] version = "0.2" default-features = false [dependencies.crypto-bigint] version = "0.5" optional = true default-features = false [dependencies.k256] version = "0.13" features = [ "std", "arithmetic", ] optional = true default-features = false [dependencies.num-traits] version = "0.2" optional = true default-features = false [dependencies.once_cell] version = "1.18" features = ["std"] default-features = false [dependencies.rand] version = "0.8" optional = true default-features = false [dependencies.secp256k1] version = "0.30" features = ["std"] optional = true default-features = false [dependencies.serde] version = "1.0" optional = true default-features = false [dependencies.serdect] version = "0.2" features = ["alloc"] optional = true default-features = false [dependencies.subtle] version = "2" features = [ "std", "const-generics", ] default-features = false [dev-dependencies.crypto-bigint] version = "0.5.3" [dev-dependencies.hex] version = "0.4.3" [dev-dependencies.rand] version = "0.8.5" [dev-dependencies.serde] version = "1.0.188" features = ["serde_derive"] [dev-dependencies.serde_json] version = "1.0.107" [dev-dependencies.sha2] version = "0.10.8" [features] cli-rng = [ "rand", "rand/std", ] default = ["secp256k1"] k256 = ["dep:k256"] num-traits = ["dep:num-traits"] rand = [ "dep:rand", "secp256k1?/rand", ] secp256k1 = ["dep:secp256k1"] secp256k1-invert = ["dep:crypto-bigint"] serde = [ "dep:serde", "secp256k1?/serde", "dep:serdect", ]