# 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 = "p256k1" version = "7.2.1" authors = ["Joey Yandle "] build = "build.rs" autobins = false autoexamples = false autotests = false autobenches = false description = "Rust wrappers around libsecp256k1 which expose internal scalar and point APIs" readme = "README.md" keywords = [ "cryptography", "crypto", "secp256k1", ] categories = [ "api-bindings", "cryptography", "mathematics", ] license = "Apache-2.0" repository = "https://github.com/Trust-Machines/p256k1/" [lib] name = "p256k1" crate-type = ["lib"] path = "src/lib.rs" [[bin]] name = "main" path = "src/main.rs" [[bench]] name = "point_bench" path = "benches/point_bench.rs" harness = false [[bench]] name = "scalar_bench" path = "benches/scalar_bench.rs" harness = false [dependencies.bitvec] version = "1.0.1" [dependencies.bs58] version = "0.4" [dependencies.hex] version = "0.4" [dependencies.num-traits] version = "0.2" [dependencies.primitive-types] version = "0.12" [dependencies.rand_core] version = "0.6" features = ["getrandom"] [dependencies.serde] version = "1.0" features = ["derive"] [dependencies.sha2] version = "0.10" [dev-dependencies.criterion] version = "0.4.0" [dev-dependencies.libc] version = "0.2" [dev-dependencies.serde_json] version = "1.0" [build-dependencies.bindgen] version = "0.64.0" optional = true [build-dependencies.cc] version = "1.0.79" [build-dependencies.itertools] version = "0.10.5" [build-dependencies.proc-macro2] version = "1.0.4" [build-dependencies.quote] version = "1.0.21" [build-dependencies.rustfmt-wrapper] version = "0.2.0" [build-dependencies.syn] version = "2.0.10" features = ["full"] [features] default = ["with_bindgen"] with_bindgen = ["dep:bindgen"]