# 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.65" name = "age" version = "0.11.0" authors = ["Jack Grigg "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "[BETA] A simple, secure, and modern encryption library." readme = "README.md" keywords = [ "rage", "encryption", ] categories = ["cryptography"] license = "MIT OR Apache-2.0" repository = "https://github.com/str4d/rage" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [lib] name = "age" path = "src/lib.rs" bench = false [[test]] name = "test_vectors" path = "tests/test_vectors.rs" required-features = ["ssh"] [[test]] name = "testkit" path = "tests/testkit.rs" required-features = [ "armor", "async", ] [[bench]] name = "parser" path = "benches/parser.rs" harness = false [[bench]] name = "throughput" path = "benches/throughput.rs" harness = false [dependencies.aes] version = "0.8" optional = true [dependencies.aes-gcm] version = "0.10" optional = true [dependencies.age-core] version = "0.11.0" [dependencies.base64] version = "0.21" [dependencies.bcrypt-pbkdf] version = "0.10" optional = true [dependencies.bech32] version = "0.9" [dependencies.cbc] version = "0.1" optional = true [dependencies.chacha20poly1305] version = "0.10" features = ["alloc"] default-features = false [dependencies.cipher] version = "0.4.3" features = ["alloc"] optional = true [dependencies.console] version = "0.15" optional = true default-features = false [dependencies.cookie-factory] version = "0.3.1" [dependencies.ctr] version = "0.9" optional = true [dependencies.curve25519-dalek] version = "4" optional = true [dependencies.futures] version = "0.3" optional = true [dependencies.hmac] version = "0.12" [dependencies.i18n-embed] version = "0.15" features = ["fluent-system"] [dependencies.i18n-embed-fl] version = "0.9" [dependencies.is-terminal] version = "0.4" optional = true [dependencies.lazy_static] version = "1" [dependencies.memchr] version = "2.5" optional = true [dependencies.nom] version = "7" features = ["alloc"] default-features = false [dependencies.num-traits] version = "0.2" optional = true [dependencies.pin-project] version = "1" [dependencies.pinentry] version = "0.6" optional = true [dependencies.rand] version = "0.8" [dependencies.rpassword] version = "7" optional = true [dependencies.rsa] version = "0.9" optional = true default-features = false [dependencies.rust-embed] version = "8" [dependencies.scrypt] version = "0.11" default-features = false [dependencies.sha2] version = "0.10" [dependencies.subtle] version = "2" [dependencies.web-sys] version = "0.3" features = [ "Window", "Performance", ] optional = true [dependencies.x25519-dalek] version = "2" features = ["static_secrets"] [dependencies.zeroize] version = "1" [dev-dependencies.criterion] version = "0.5" [dev-dependencies.futures-test] version = "0.3" [dev-dependencies.hex] version = "0.4" [dev-dependencies.i18n-embed] version = "0.15" features = [ "fluent-system", "desktop-requester", ] [dev-dependencies.proptest] version = "1" [dev-dependencies.test-case] version = "3" [dev-dependencies.tokio] version = "1" features = [ "macros", "rt-multi-thread", ] [features] armor = [] async = [ "futures", "memchr", ] cli-common = [ "console", "is-terminal", "pinentry", "rpassword", ] default = [] plugin = [ "age-core/plugin", "which", "wsl", ] ssh = [ "aes", "aes-gcm", "bcrypt-pbkdf", "cbc", "cipher", "ctr", "curve25519-dalek", "num-traits", "rsa", ] unstable = ["age-core/unstable"] [target.'cfg(any(target_arch = "x86", target_arch = "x86_64"))'.dev-dependencies.criterion-cycles-per-byte] version = "0.6" [target."cfg(any(unix, windows))".dependencies.which] version = "4" optional = true [target."cfg(any(unix, windows))".dependencies.wsl] version = "0.1" optional = true [target."cfg(unix)".dev-dependencies.pprof] version = "0.13" features = [ "criterion", "flamegraph", ] [badges.maintenance] status = "experimental"