# 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 = "nym-crypto" version = "0.4.0" authors = ["Nym Technologies SA"] description = "Crypto library for the nym mixnet" license = "Apache-2.0" repository = "https://github.com/nymtech/nym" [dependencies.aes] version = "0.8.1" optional = true [dependencies.blake3] version = "1.3.1" features = ["traits-preview"] optional = true [dependencies.bs58] version = "0.4.0" [dependencies.cipher] version = "0.4.3" optional = true [dependencies.ctr] version = "0.9.1" optional = true [dependencies.digest] version = "0.10.3" optional = true [dependencies.ed25519-dalek] version = "1.0" optional = true [dependencies.generic-array] version = "0.14.7" optional = true [dependencies.hkdf] version = "0.12.3" optional = true [dependencies.hmac] version = "0.12.1" optional = true [dependencies.nym-pemstore] version = "0.3.0" [dependencies.nym-sphinx-types] version = "0.2.0" [dependencies.rand] version = "0.7.3" features = ["wasm-bindgen"] optional = true [dependencies.serde_bytes] version = "0.11.6" optional = true [dependencies.serde_crate] version = "1.0" features = ["derive"] optional = true default_features = false package = "serde" [dependencies.subtle-encoding] version = "0.5" features = ["bech32-preview"] [dependencies.thiserror] version = "1.0.37" [dependencies.x25519-dalek] version = "1.1" optional = true [dependencies.zeroize] version = "1.6.0" features = ["zeroize_derive"] optional = true [dev-dependencies.rand_chacha] version = "0.2" [features] asymmetric = [ "x25519-dalek", "ed25519-dalek", "zeroize", ] hashing = [ "blake3", "digest", "hkdf", "hmac", "generic-array", ] serde = [ "serde_crate", "serde_bytes", "ed25519-dalek/serde", "x25519-dalek/serde", ] symmetric = [ "aes", "ctr", "cipher", "generic-array", ]