# 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 = "hswp" version = "0.1.0" authors = ["Quantum-Blockchains"] build = "build.rs" autobins = false autoexamples = false autotests = false autobenches = false description = "pqkd handshake" homepage = "https://github.com/Quantum-Blockchains/hswp" readme = "README.md" categories = ["cryptography"] license = "Apache-2.0 OR MIT" repository = "https://github.com/Quantum-Blockchains/hswp" [package.metadata.docs.rs] all-features = false features = [ "ring-resolver", "libsodium-resolver", ] no-default-features = false [lib] name = "hswp" path = "src/lib.rs" [[example]] name = "simple" path = "examples/simple.rs" [[test]] name = "general" path = "tests/general.rs" [[test]] name = "vectors" path = "tests/vectors.rs" [[bench]] name = "benches" path = "benches/benches.rs" harness = false [dependencies.aes-gcm] version = "0.9" optional = true [dependencies.base64] version = "0.22.1" [dependencies.blake2] version = "0.10" optional = true [dependencies.byteorder] version = "1.4" optional = true [dependencies.chacha20poly1305] version = "0.9" optional = true [dependencies.curve25519-dalek] version = "4" optional = true [dependencies.pqcrypto-kyber] version = "0.7" optional = true [dependencies.pqcrypto-traits] version = "0.3" optional = true [dependencies.pqkd] version = "0.1.0" [dependencies.rand_core] version = "0.6" features = [ "std", "getrandom", ] [dependencies.ring] version = "^0.16.2" features = ["std"] optional = true [dependencies.sha2] version = "0.10" optional = true [dependencies.sodiumoxide] version = "0.2" optional = true [dependencies.subtle] version = "2.4" [dev-dependencies.clap] version = "3" [dev-dependencies.criterion] version = "0.3" [dev-dependencies.hex] version = "0.4" [dev-dependencies.lazy_static] version = "1.4" [dev-dependencies.rand] version = "0.8" [dev-dependencies.serde] version = "1.0" [dev-dependencies.serde_derive] version = "1.0" [dev-dependencies.serde_json] version = "1.0" [dev-dependencies.x25519-dalek] version = "1" [build-dependencies.rustc_version] version = "0.4" [features] default = ["default-resolver"] default-resolver = [ "aes-gcm", "chacha20poly1305", "blake2", "sha2", "curve25519-dalek", ] hfs = [] libsodium-accelerated = [ "libsodium-resolver", "default-resolver", ] libsodium-resolver = [ "sodiumoxide", "byteorder", ] nightly = [ "blake2/simd_opt", "subtle/nightly", ] pqclean_kyber1024 = [ "pqcrypto-kyber", "pqcrypto-traits", "hfs", "default-resolver", ] ring-accelerated = [ "ring-resolver", "default-resolver", ] ring-resolver = ["ring"] risky-raw-split = [] vector-tests = [] xchachapoly = [ "chacha20poly1305", "default-resolver", ] [badges.travis-ci] branch = "master" repository = "mcginty/snow"