# 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.61" name = "shadowsocks-crypto" version = "0.5.8" authors = [ "luozijun ", "ty ", ] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Shadowsocks Crypto" documentation = "https://docs.rs/shadowsocks-crypto" readme = "README.md" keywords = ["Cryptography"] license = "MIT" repository = "https://github.com/shadowsocks/shadowsocks-crypto" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [lib] name = "shadowsocks_crypto" path = "src/lib.rs" [dependencies.aead] version = "0.5" optional = true [dependencies.aes] version = "0.8" optional = true [dependencies.aes-gcm] version = "0.10" optional = true [dependencies.aes-gcm-siv] version = "0.11" optional = true [dependencies.blake3] version = "1.3" optional = true [dependencies.bytes] version = "1.3" optional = true [dependencies.camellia] version = "0.1" optional = true [dependencies.ccm] version = "0.5" optional = true [dependencies.cfg-if] version = "1.0" optional = true [dependencies.chacha20] version = "0.9" features = [] optional = true [dependencies.chacha20poly1305] version = "0.10" optional = true [dependencies.ctr] version = "0.9" optional = true [dependencies.ghash] version = "0.5" optional = true [dependencies.hkdf] version = "0.12" optional = true [dependencies.md-5] version = "0.10" optional = true [dependencies.rand] version = "0.8" [dependencies.ring-compat] version = "0.8" optional = true [dependencies.sha1] version = "0.10" optional = true [dependencies.sm4] version = "0.5" optional = true [dependencies.subtle] version = "2.5" optional = true [dev-dependencies.hex] version = "0.4" [features] default = [ "v1", "v1-aead", ] ring = ["ring-compat"] v1 = [ "md-5", "cfg-if", ] v1-aead = [ "v1", "aes-gcm", "chacha20poly1305", "hkdf", "sha1", ] v1-aead-extra = [ "v1-aead", "aes-gcm-siv", "ccm", "aes", "sm4", "ghash", "aead", "subtle", "ctr", ] v1-stream = [ "v1", "chacha20", "aes", "ctr", "camellia", ] v2 = [ "aes", "aes-gcm", "blake3", "chacha20poly1305", "bytes", "cfg-if", ] v2-extra = [ "v2", "chacha20poly1305/reduced-round", ]