# 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 = "2018" name = "libsecp256k1" version = "0.7.1" authors = ["Wei Tang "] description = "Pure Rust secp256k1 implementation." readme = "README.md" keywords = [ "crypto", "ECDSA", "secp256k1", "bitcoin", "no_std", ] license = "Apache-2.0" repository = "https://github.com/paritytech/libsecp256k1" resolver = "2" [dependencies.arrayref] version = "0.3" [dependencies.base64] version = "0.13" default-features = false [dependencies.digest] version = "0.9" [dependencies.hmac-drbg] version = "0.3" optional = true [dependencies.lazy_static] version = "1.4.0" optional = true [dependencies.libsecp256k1-core] version = "0.3.0" default-features = false [dependencies.rand] version = "0.8" default-features = false [dependencies.serde] version = "1.0.104" features = ["derive"] default-features = false [dependencies.sha2] version = "0.9" optional = true default-features = false [dependencies.typenum] version = "1.12" optional = true [dev-dependencies.bincode] version = "1.3.3" [dev-dependencies.clear_on_drop] version = "0.2" [dev-dependencies.hex] version = "0.4" [dev-dependencies.hex-literal] version = "0.3.3" [dev-dependencies.secp256k1-test] version = "0.20.3" features = [ "rand-std", "recovery", ] package = "secp256k1" [dev-dependencies.serde_json] version = "1.0" [build-dependencies.libsecp256k1-gen-ecmult] version = "0.3.0" [build-dependencies.libsecp256k1-gen-genmult] version = "0.3.0" [features] default = [ "std", "hmac", "static-context", ] hmac = [ "hmac-drbg", "sha2", "typenum", ] lazy-static-context = [ "static-context", "lazy_static", "std", ] static-context = [] std = [ "libsecp256k1-core/std", "sha2/std", "rand/std", "serde/std", "base64/std", ]