# 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 = "2018" name = "cryptohelpers" version = "2.0.0" authors = ["Avril "] description = "Collection of helpers and simplifying functions for cryptography things" homepage = "https://git.flanchan.moe/flanchan/cryptohelpers" license = "MIT" repository = "https://github.com/notflan/cryptohelpers" [dependencies.base64] version = "0.13.0" [dependencies.crc] version = "1.8" optional = true [dependencies.futures] version = "0.3.8" optional = true [dependencies.getrandom] version = "0.1" optional = true [dependencies.hex-literal] version = "0.3" optional = true [dependencies.hmac] version = "0.9" optional = true [dependencies.libc] version = "0.2" [dependencies.openssl] version = "0.10.32" optional = true [dependencies.pbkdf2] version = "0.5" optional = true [dependencies.serde] version = "1.0" optional = true [dependencies.serde_derive] version = "1.0" optional = true [dependencies.sha2] version = "0.9" optional = true [dependencies.tokio] version = "^1.17" features = ["io-util"] optional = true [dev-dependencies.serde_cbor] version = "0.11.1" [features] aes = [ "openssl", "getrandom", ] async = [ "tokio", "futures", ] checksum = ["crc"] default = [ "full", "async", "serialise", ] full = [ "sha256", "password", "aes", "checksum", "rsa", ] password = [ "sha256", "pbkdf2", "hex-literal", "hmac", "getrandom", ] rsa = [ "openssl", "password", ] serialise = [ "serde_derive", "serde", ] sha256 = ["sha2"]