age-crypto 0.2.0

A safe, ergonomic Rust wrapper around the age encryption library with strong typing, comprehensive error handling, and passphrase support.
Documentation
# 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 = "2024"
name = "age-crypto"
version = "0.2.0"
authors = ["neuxdotdev <neuxdev1@gmail.com>"]
build = "build.rs"
exclude = [
    "/.github",
    "/.vscode",
    "/.idea",
    "/target",
    "/.git",
    "*.rs.bak",
    "Cargo.lock",
    "tests/fixtures/*.tmp",
    "bench/**/*",
    "example/**/*",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A safe, ergonomic Rust wrapper around the age encryption library with strong typing, comprehensive error handling, and passphrase support."
homepage = "https://github.com/neuxdotdev/age-crypto"
documentation = "https://docs.rs/age-crypto"
readme = "README.md"
keywords = [
    "crypto",
    "encryption",
    "age",
    "security",
    "wrapper",
]
categories = [
    "cryptography",
    "development-tools",
]
license = "MIT"
repository = "https://github.com/neuxdotdev/age-crypto"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]
targets = [
    "x86_64-unknown-linux-gnu",
    "aarch64-apple-darwin",
    "wasm32-unknown-unknown",
]

[lib]
name = "age_crypto"
crate-type = [
    "cdylib",
    "rlib",
]
path = "src/lib.rs"

[[test]]
name = "api_decrypt"
path = "tests/api_decrypt.rs"

[[test]]
name = "api_decrypt_armor"
path = "tests/api_decrypt_armor.rs"

[[test]]
name = "api_decrypt_with_passphrase"
path = "tests/api_decrypt_with_passphrase.rs"

[[test]]
name = "api_decrypt_with_passphrase_armor"
path = "tests/api_decrypt_with_passphrase_armor.rs"

[[test]]
name = "api_encrypt"
path = "tests/api_encrypt.rs"

[[test]]
name = "api_encrypt_armor"
path = "tests/api_encrypt_armor.rs"

[[test]]
name = "api_encrypt_with_passphrase"
path = "tests/api_encrypt_with_passphrase.rs"

[[test]]
name = "api_encrypt_with_passphrase_armor"
path = "tests/api_encrypt_with_passphrase_armor.rs"

[[test]]
name = "api_parse_identity"
path = "tests/api_parse_identity.rs"

[[test]]
name = "api_parse_recipients"
path = "tests/api_parse_recipients.rs"

[[test]]
name = "errors_decrypt"
path = "tests/errors_decrypt.rs"

[[test]]
name = "errors_encrypt"
path = "tests/errors_encrypt.rs"

[[test]]
name = "types_armored_data"
path = "tests/types_armored_data.rs"

[[test]]
name = "types_encrypted_data"
path = "tests/types_encrypted_data.rs"

[[test]]
name = "types_passphrase"
path = "tests/types_passphrase.rs"

[[bench]]
name = "armor"
path = "benches/armor.rs"
harness = false

[[bench]]
name = "dc"
path = "benches/dc.rs"
harness = false

[[bench]]
name = "enc"
path = "benches/enc.rs"
harness = false

[[bench]]
name = "error"
path = "benches/error.rs"
harness = false

[[bench]]
name = "passphrase"
path = "benches/passphrase.rs"
harness = false

[[bench]]
name = "recipient"
path = "benches/recipient.rs"
harness = false

[[bench]]
name = "types"
path = "benches/types.rs"
harness = false

[dependencies.age]
version = "0.11.3"
features = ["armor"]

[dependencies.age-setup]
version = "0.2.1"

[dependencies.libc]
version = "0.2.186"

[dependencies.rand]
version = "0.8"

[dependencies.thiserror]
version = "2.0.18"

[dependencies.zeroize]
version = "1.8.2"

[dev-dependencies.chrono]
version = "0.4.44"

[dev-dependencies.criterion]
version = "0.8.2"
features = ["html_reports"]

[dev-dependencies.serde]
version = "1.0.228"
features = ["derive"]

[dev-dependencies.serde_json]
version = "1.0.149"

[build-dependencies.cbindgen]
version = "0.29.2"

[lints.rust]
deprecated = "warn"
unsafe_code = "warn"
unused = "warn"