enc_file 0.6.4

Password-based file encryption tool with a versioned header, AEAD, Argon2id KDF, and streaming mode. Library + CLI + GUI.
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 = "enc_file"
version = "0.6.4"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Password-based file encryption tool with a versioned header, AEAD, Argon2id KDF, and streaming mode. Library + CLI + GUI."
homepage = "https://crates.io/crates/enc_file"
documentation = "https://docs.rs/enc_file/latest/enc_file/"
readme = "README.md"
keywords = [
    "encryption",
    "command-line",
    "chacha20poly1305",
    "aes-gcm",
    "blake3",
]
categories = [
    "command-line-utilities",
    "cryptography",
    "encoding",
    "filesystem",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/ArdentEmpiricist/enc_file"

[features]
default = []
gui = [
    "eframe",
    "egui",
    "egui_extras",
    "rfd",
    "tokio",
    "env_logger",
]

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

[[bin]]
name = "enc-file"
path = "src/main.rs"

[[bin]]
name = "enc-file-gui"
path = "src/gui_main.rs"
required-features = ["gui"]

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.aead]
version = "0.5"

[dependencies.aes-gcm-siv]
version = "0.11"

[dependencies.anyhow]
version = "1"

[dependencies.argon2]
version = "0.5"

[dependencies.base64]
version = "0.22"

[dependencies.blake2]
version = "0.10"

[dependencies.blake3]
version = "1"

[dependencies.chacha20poly1305]
version = "0.10"
features = [
    "std",
    "stream",
]

[dependencies.ciborium]
version = "0.2"

[dependencies.clap]
version = "4.6.1"
features = ["derive"]

[dependencies.crc]
version = "3"

[dependencies.eframe]
version = "0.34.3"
optional = true

[dependencies.egui]
version = "0.34.3"
optional = true

[dependencies.egui_extras]
version = "0.34.3"
features = ["file"]
optional = true

[dependencies.env_logger]
version = "0.11"
optional = true

[dependencies.getrandom]
version = "0.4.2"

[dependencies.hex]
version = "0.4"

[dependencies.num_cpus]
version = "1"

[dependencies.rfd]
version = "0.17"
optional = true

[dependencies.rpassword]
version = "7"

[dependencies.secrecy]
version = "0.10"

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

[dependencies.sha2]
version = "0.11"

[dependencies.sha3]
version = "0.12"

[dependencies.tempfile]
version = "3"

[dependencies.thiserror]
version = "2.0.18"

[dependencies.tokio]
version = "1.52.3"
features = [
    "rt",
    "rt-multi-thread",
    "fs",
    "sync",
]
optional = true

[dependencies.xxhash-rust]
version = "0.8"
features = ["xxh3"]

[dependencies.zeroize]
version = "1.8.2"

[dev-dependencies.assert_cmd]
version = "2"

[dev-dependencies.assert_fs]
version = "1.1.4"

[dev-dependencies.predicates]
version = "3"

[dev-dependencies.proptest]
version = "1"

[dev-dependencies.rand]
version = "0.10.1"
features = ["std"]

[dev-dependencies.tempfile]
version = "3"

[profile.release]
opt-level = 3
lto = "fat"
codegen-units = 1