# 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" rust-version = "1.60.0" name = "curve25519-elligator2" version = "0.1.0-alpha.2" authors = [ "Isis Lovecruft ", "Henry de Valence ", "jmwample", ] build = "build.rs" exclude = [ "**/.gitignore", ".gitignore", ] autobins = false autoexamples = false autotests = false autobenches = false description = "A pure-Rust implementation of group operations on ristretto255 and Curve25519" homepage = "https://github.com/jmwample/curve25519-dalek" documentation = "https://docs.rs/curve25519-elligator2" readme = "README.md" keywords = [ "cryptography", "crypto", "ristretto", "curve25519", "ristretto255", ] categories = [ "cryptography", "no-std", ] license = "BSD-3-Clause" repository = "https://github.com/jmwample/curve25519-dalek/tree/main/curve25519-elligator2" [package.metadata.docs.rs] features = [ "serde", "rand_core", "elligator2", "digest", "legacy_compatibility", "group-bits", ] rustdoc-args = [ "--html-in-header", "docs/assets/rustdoc-include-katex-header.html", "--cfg", "docsrs", ] [lib] name = "curve25519_elligator2" path = "src/lib.rs" [[bench]] name = "dalek_benchmarks" path = "benches/dalek_benchmarks.rs" harness = false required-features = [ "alloc", "rand_core", ] [dependencies.cfg-if] version = "1" [dependencies.digest] version = "0.10" optional = true default-features = false [dependencies.ff] version = "0.13" optional = true default-features = false [dependencies.group] version = "0.13" optional = true default-features = false [dependencies.rand_core] version = "0.6.4" optional = true default-features = false [dependencies.serde] version = "1.0" features = ["derive"] optional = true default-features = false [dependencies.subtle] version = "2.6.0" default-features = false [dependencies.zeroize] version = "1" optional = true default-features = false [dev-dependencies.bincode] version = "1" [dev-dependencies.criterion] version = "0.5" features = ["html_reports"] [dev-dependencies.hex] version = "0.4.2" [dev-dependencies.json] version = "0.12.4" [dev-dependencies.kolmogorov_smirnov] version = "1.1.0" [dev-dependencies.rand] version = "0.8" [dev-dependencies.rand_core] version = "0.6" features = ["getrandom"] default-features = false [dev-dependencies.rand_distr] version = "0.4.3" [dev-dependencies.sha2] version = "0.10" default-features = false [build-dependencies.rustc_version] version = "0.4.0" [features] alloc = ["zeroize?/alloc"] default = [ "alloc", "precomputed-tables", "zeroize", "elligator2", ] digest = [ "dep:digest", "elligator2", ] elligator2 = [] group = [ "dep:group", "rand_core", ] group-bits = [ "group", "ff/bits", ] legacy_compatibility = [] precomputed-tables = [] [target.'cfg(all(not(curve25519_dalek_backend = "fiat"), not(curve25519_dalek_backend = "serial"), target_arch = "x86_64"))'.dependencies.curve25519-dalek-derive] version = "0.1.1" [target.'cfg(curve25519_dalek_backend = "fiat")'.dependencies.fiat-crypto] version = "0.2.1" default-features = false [target.'cfg(target_arch = "x86_64")'.dependencies.cpufeatures] version = "0.2.6" [lints.rust.unexpected_cfgs] level = "warn" priority = 0 check-cfg = [ "cfg(allow_unused_unsafe)", 'cfg(curve25519_dalek_backend, values("fiat", "serial", "simd"))', 'cfg(curve25519_dalek_diagnostics, values("build"))', 'cfg(curve25519_dalek_bits, values("32", "64"))', "cfg(nightly)", ]