# 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 = "generic-ec-curves" version = "0.2.2" build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Elliptic curves for `generic-ec` crate" readme = "README.md" license = "MIT OR Apache-2.0" repository = "https://github.com/LFDT-Lockness/generic-ec" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", "--html-in-header", "katex-header.html", ] [lib] name = "generic_ec_curves" path = "src/lib.rs" [[bench]] name = "curves" path = "benches/curves.rs" harness = false [dependencies.curve25519] version = "4" features = [ "group", "zeroize", "rand_core", "precomputed-tables", ] optional = true default-features = false package = "curve25519-dalek" [dependencies.elliptic-curve] version = "0.13" features = [ "sec1", "hash2curve", ] optional = true default-features = false [dependencies.generic-ec-core] version = "0.2" default-features = false [dependencies.group] version = "0.13" optional = true default-features = false [dependencies.k256] version = "0.13" features = ["hash2curve"] optional = true default-features = false [dependencies.p256] version = "0.13" features = ["hash2curve"] optional = true default-features = false [dependencies.rand_core] version = "0.6" default-features = false [dependencies.sha2] version = "0.10" optional = true default-features = false [dependencies.stark-curve] version = "0.1" optional = true default-features = false [dependencies.subtle] version = "2.4" default-features = false [dependencies.zeroize] version = "1" features = ["zeroize_derive"] default-features = false [dev-dependencies.criterion] version = "0.5" features = ["html_reports"] [dev-dependencies.rand] version = "0.8" [dev-dependencies.rand_dev] version = "0.1" [features] default = [] ed25519 = [ "dep:curve25519", "dep:group", ] rust-crypto = ["elliptic-curve"] secp256k1 = [ "rust-crypto", "k256", "sha2", ] secp256r1 = [ "rust-crypto", "p256", "sha2", ] stark = [ "rust-crypto", "stark-curve", "sha2", ]