# 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.67" name = "chuchi-crypto" version = "0.1.1" authors = ["Sören Meier "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Crypto library providing encryption and signing." homepage = "https://chuchi.dev/" readme = "README.md" keywords = [ "crypto", "signature", "cipher", ] categories = ["cryptography"] license = "MIT OR Apache-2.0" repository = "https://github.com/chuchi-dev/chuchi-crypto" [package.metadata.docs.rs] all-features = true [lib] name = "chuchi_crypto" path = "src/lib.rs" [dependencies._serde] version = "1.0" optional = true package = "serde" [dependencies.base64] version = "0.21" optional = true [dependencies.blake2] version = "0.10" optional = true [dependencies.bytes] version = "1.6" optional = true [dependencies.chacha20] version = "0.9" optional = true [dependencies.chuchi-postgres] version = "0.1" optional = true [dependencies.ed25519-dalek] version = "2.0" features = [ "zeroize", "rand_core", ] optional = true [dependencies.generic-array] version = "0.14" optional = true [dependencies.poly1305] version = "0.8" optional = true [dependencies.postgres-types] version = "0.2" optional = true [dependencies.protopuffer] version = "0.1" optional = true [dependencies.rand] version = "0.8" [dependencies.universal-hash] version = "0.5" optional = true [dependencies.x25519-dalek] version = "2.0" features = ["static_secrets"] optional = true [dependencies.zeroize] version = "1.6" optional = true [features] b64 = ["base64"] cipher = [ "zeroize", "poly1305", "universal-hash", "chacha20", "x25519-dalek", "generic-array", ] hash = [ "blake2", "generic-array", ] postgres = [ "dep:postgres-types", "dep:bytes", "dep:chuchi-postgres", ] protobuf = ["dep:protopuffer"] serde = ["_serde"] signature = ["ed25519-dalek"]