# 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 = "ncr" version = "0.1.2" description = "Rust implementation of chat encryption in the Minecraft mod No Chat Reports" readme = "README.md" license = "MIT" repository = "https://github.com/ALaggyDev/ncr-rs" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [dependencies.aes] version = "0.8.2" optional = true [dependencies.aes-gcm] version = "0.10.2" optional = true [dependencies.base64] version = "0.21.0" [dependencies.cfb8] version = "0.8.1" optional = true [dependencies.cipher] version = "0.4.4" features = [ "alloc", "block-padding", ] optional = true [dependencies.hmac] version = "0.12.1" optional = true [dependencies.pbkdf2] version = "0.12.1" optional = true default-features = false [dependencies.phf] version = "0.11.1" [dependencies.rand] version = "0.8.5" [dependencies.sha1] version = "0.10.5" optional = true [dev-dependencies] [features] cfb8 = [ "dep:aes", "dep:cfb8", ] default = ["passphrase"] ecb = [ "dep:aes", "dep:cipher", ] gcm = [ "dep:aes", "dep:aes-gcm", ] passphrase = [ "dep:pbkdf2", "dep:hmac", "dep:sha1", ]