# 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 believe there's an error in this file please file an # issue against the rust-lang/cargo repository. If you're # editing this file be aware that the upstream Cargo.toml # will likely look very different (and much more reasonable) [package] edition = "2018" name = "dup-crypto" version = "0.58.0" authors = ["elois "] description = "Manage cryptographic operations for DUniter Protocols and the Duniter eco-system most broadly." readme = "README.md" keywords = ["keys", "cryptography", "duniter", "dunitrust"] license = "AGPL-3.0" repository = "https://git.duniter.org/libs/dubp-rs-libs" [package.metadata.docs.rs] all-features = true rustdoc-args = ["--cfg", "docsrs"] [lib] path = "src/lib.rs" [[bench]] name = "ring_vs_sodium" harness = false [[bench]] name = "vanity" harness = false [dependencies.arrayvec] version = "0.7" optional = true [dependencies.base64] version = "0.13.0" [dependencies.blake3] version = "0.3.7" features = ["rayon"] [dependencies.bs58] version = "0.4.0" [dependencies.byteorder] version = "1.3.4" [dependencies.chacha20poly1305] version = "0.7.1" features = ["reduced-round"] optional = true [dependencies.curve25519-dalek] version = "3.1" optional = true [dependencies.ed25519-bip32] version = "0.3.2" optional = true [dependencies.hex] version = "0.4.2" [dependencies.once_cell] version = "1.5.2" features = ["std"] optional = true default-features = false [dependencies.serde] version = "1.0.123" features = ["derive"] [dependencies.thiserror] version = "1.0.24" [dependencies.zerocopy] version = "0.3.0" [dependencies.zeroize] version = "1.2.0" features = ["zeroize_derive"] [dev-dependencies.bincode] version = "1.3.1" [dev-dependencies.criterion] version = "0.3.4" [dev-dependencies.sodiumoxide] version = "0.2.6" [dev-dependencies.unwrap] version = "1.2.1" [features] bip32-ed25519 = ["arrayvec", "cryptoxide", "ed25519-bip32", "mnemonic"] client = ["bip32-ed25519", "dewif", "encrypt_tx_comment", "mnemonic", "mnemonic_french", "mnemonic_spanish"] dewif = ["arrayvec", "bip32-ed25519", "mnemonic"] duniter = [] encrypt_tx_comment = ["cryptoxide", "x25519"] mnemonic = ["once_cell"] mnemonic_all_languages = ["mnemonic_chinese_simplified", "mnemonic_chinese_traditional", "mnemonic_french", "mnemonic_italian", "mnemonic_japanese", "mnemonic_korean", "mnemonic_spanish"] mnemonic_chinese_simplified = [] mnemonic_chinese_traditional = [] mnemonic_french = [] mnemonic_italian = [] mnemonic_japanese = [] mnemonic_korean = [] mnemonic_spanish = [] private_message = ["arrayvec", "chacha20poly1305", "x25519"] pubkey_check = ["curve25519-dalek"] x25519 = ["curve25519-dalek", "pubkey_check"] [target."cfg(not(target_arch = \"wasm32\"))".dependencies.cryptoxide] version = "0.3.2" optional = true [target."cfg(not(target_arch = \"wasm32\"))".dependencies.getrandom] version = "0.2.2" [target."cfg(not(target_arch = \"wasm32\"))".dependencies.ring] version = "0.16.20" [target."cfg(target_arch = \"wasm32\")".dependencies.cryptoxide] version = "0.3.2" [target."cfg(target_arch = \"wasm32\")".dependencies.getrandom] version = "0.2.2" features = ["js"]