cryptainer 2.3.0

tiny encrypted byte array container (Argon2id + AES256-GCM)
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"
rust-version = "1.89"
name = "cryptainer"
version = "2.3.0"
authors = ["Landon Porter"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "tiny encrypted byte array container (Argon2id + AES256-GCM)"
documentation = "https://docs.rs/cryptainer"
readme = "README.md"
categories = [
    "cryptography",
    "no-std",
]
license = "MIT"
repository = "https://codeberg.org/mazylol/cryptainer"
resolver = "2"

[features]
default = [
    "std",
    "zeroize",
]
derive = [
    "dep:bincode",
    "dep:serde",
    "dep:cryptainer-derive",
]
std = [
    "rand/std",
    "rand/std_rng",
    "rand/thread_rng",
]
zeroize = [
    "dep:zeroize",
    "argon2/zeroize",
    "aes-gcm/zeroize",
]

[lib]
name = "cryptainer"
path = "src/lib.rs"

[dependencies.aes-gcm]
version = "0.11.0"
features = [
    "aes",
    "alloc",
]
default-features = false

[dependencies.argon2]
version = "0.6.0"
features = ["alloc"]
default-features = false

[dependencies.bincode]
version = "2.0.1"
features = [
    "alloc",
    "serde",
]
optional = true
default-features = false

[dependencies.cryptainer-derive]
version = "2.3.0"
optional = true

[dependencies.rand]
version = "0.10.2"
default-features = false

[dependencies.serde]
version = "1.0"
features = [
    "alloc",
    "derive",
]
optional = true
default-features = false

[dependencies.thiserror]
version = "2.0.20"
default-features = false

[dependencies.zeroize]
version = "1.9.0"
features = ["alloc"]
optional = true
default-features = false