# 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 = "iota-crypto" version = "0.23.2" authors = ["IOTA Stiftung"] build = "build.rs" exclude = [ "/tests", "/.github", "/.changes", ] autobins = false autoexamples = false autotests = false autobenches = false description = "The canonical source of cryptographic ground-truth for all IOTA Rust projects" homepage = "https://iota.org" readme = "README.md" keywords = [ "iota", "cryptography", "security", ] categories = ["cryptography"] license = "Apache-2.0" repository = "https://github.com/iotaledger/crypto.rs" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [profile.dev] split-debuginfo = "unpacked" [lib] name = "crypto" path = "src/lib.rs" [dependencies.aead] version = "0.5" optional = true default-features = false [dependencies.aes] version = "0.8" optional = true default-features = false [dependencies.aes-gcm] version = "0.10" features = ["aes"] optional = true default-features = false [dependencies.base64] version = "0.21" optional = true default-features = false [dependencies.bee-common-derive] version = "0.1.1-alpha" optional = true default-features = false [dependencies.blake2] version = "0.10.5" optional = true default-features = false [dependencies.byteorder] version = "1.4" optional = true default-features = false [dependencies.cbc] version = "0.1" optional = true default-features = false [dependencies.chacha20poly1305] version = "0.10" optional = true default-features = false [dependencies.cipher] version = "0.4" features = ["block-padding"] optional = true default-features = false [dependencies.curve25519-dalek] version = "4.1.3" optional = true default-features = false [dependencies.digest] version = "0.10" optional = true default-features = false [dependencies.ed25519-zebra] version = "4.0.1" optional = true default-features = false [dependencies.generic-array] version = "0.14" optional = true default-features = false [dependencies.getrandom] version = "0.2" features = ["js"] optional = true default-features = false [dependencies.hkdf] version = "0.12" optional = true default-features = false [dependencies.hmac] version = "0.12" optional = true default-features = false [dependencies.iterator-sorted] version = "0.1.0" optional = true default-features = false [dependencies.k256] version = "0.13" features = ["ecdsa"] optional = true default-features = false [dependencies.lazy_static] version = "1.4" optional = true default-features = false [dependencies.num-traits] version = "0.2" optional = true default-features = false [dependencies.pbkdf2] version = "0.12" optional = true default-features = false [dependencies.rand] version = "0.8" optional = true default-features = false [dependencies.scrypt] version = "0.11" optional = true default-features = false [dependencies.serde] version = "1.0" features = [ "derive", "alloc", ] optional = true default-features = false [dependencies.sha2] version = "0.10" optional = true default-features = false [dependencies.sha3] version = "0.10" optional = true default-features = false [dependencies.subtle] version = "2.4" optional = true default-features = false [dependencies.tiny-keccak] version = "2.0" features = ["keccak"] optional = true default-features = false [dependencies.unicode-normalization] version = "0.1" optional = true default-features = false [dependencies.x25519-dalek] version = "2.0.1" features = [ "static_secrets", "zeroize", ] optional = true default-features = false [dependencies.zeroize] version = "1.5" features = ["zeroize_derive"] optional = true default-features = false [dev-dependencies.age] version = "0.10" default-features = false [dev-dependencies.hex] version = "0.4" features = [ "alloc", "std", ] default-features = false [dev-dependencies.rand] version = "0.8" features = [ "std", "std_rng", "min_const_gen", ] default-features = false [dev-dependencies.serde] version = "1.0" features = ["derive"] default-features = false [dev-dependencies.serde_json] version = "1.0" features = [ "alloc", "std", ] default-features = false [build-dependencies.autocfg] version = "1.1" default-features = false [features] aes = [ "aes-cbc", "aes-gcm", "aes-kw", ] aes-cbc = [ "dep:aes", "cipher", "dep:cbc", "hmac", "sha", "subtle", "zeroize", ] aes-gcm = [ "dep:aes-gcm", "cipher", ] aes-kw = ["dep:aes"] age = [ "aead", "base64", "chacha20poly1305", "dep:hkdf", "dep:hmac", "dep:scrypt", "dep:sha2", "zeroize", ] bip39 = [ "dep:iterator-sorted", "dep:unicode-normalization", "pbkdf2", "sha", "zeroize", "zeroize/alloc", ] bip39-en = ["bip39"] bip39-jp = ["bip39"] bip44 = ["slip10"] blake2b = [ "blake2", "digest", ] chacha = [ "chacha20poly1305", "cipher", ] cipher = [ "aead", "dep:cipher", "generic-array", ] curl-p = [ "ternary_hashes", "ternary_encoding", ] default = [] ed25519 = [ "ed25519-zebra", "zeroize", ] hmac = ["dep:hmac"] keccak = ["dep:tiny-keccak"] kerl_deprecated_do_not_use = [ "ternary_hashes", "ternary_encoding", "byteorder", "lazy_static", "dep:tiny-keccak", ] pbkdf2 = [ "dep:pbkdf2", "pbkdf2/hmac", "dep:sha2", ] rand = ["dep:rand"] random = [ "getrandom", "rand?/getrandom", ] secp256k1 = [ "dep:k256", "k256?/ecdsa", "zeroize", ] serde = [ "dep:serde", "ed25519-zebra?/serde", "k256?/serde", "k256?/pem", ] sha = [ "dep:sha2", "digest", ] slip10 = [ "hmac", "sha", "zeroize", ] std = [ "k256?/std", "serde?/std", ] ternary_encoding = [ "serde", "num-traits", ] ternary_hashes = [] ternary_keys = [] ternary_signatures = [] wots_deprecated_do_not_use = [ "ternary_keys", "ternary_signatures", "ternary_encoding", "sha3", "zeroize", "dep:rand", "bee-common-derive", ] x25519 = [ "x25519-dalek", "curve25519-dalek", "zeroize", ] [target.'cfg(not(target_family = "wasm"))'.dependencies.cpufeatures] version = "0.2" optional = true default-features = false [lints.rust.unexpected_cfgs] level = "warn" priority = 0 check-cfg = [ "cfg(has_i128)", "cfg(has_u128)", ]