fast-floe 0.3.4

High performance, spec-compliant Fast Lightweight Online Encryption (FLOE) implementation
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.87"
name = "fast-floe"
version = "0.3.4"
build = false
exclude = ["kats/"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "High performance, spec-compliant Fast Lightweight Online Encryption (FLOE) implementation"
documentation = "https://docs.rs/fast-floe"
readme = "README.md"
keywords = [
    "cryptography",
    "encryption",
    "floe",
    "random-access",
    "streaming",
]
categories = ["cryptography"]
license = "Apache-2.0"
repository = "https://github.com/int08h/fast-floe"

[features]
aws-lc-rs = ["dep:aws-lc-rs"]
boring = ["dep:boring"]
default = ["aws-lc-rs"]
ring = ["dep:ring"]
rustcrypto = [
    "dep:aes",
    "dep:aes-gcm",
    "dep:getrandom",
    "dep:ghash",
    "dep:hmac",
    "dep:rand_chacha",
    "dep:sha2",
]

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

[[example]]
name = "manual_file"
path = "examples/manual_file.rs"

[[example]]
name = "serial_file"
path = "examples/serial_file.rs"

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

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

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

[dependencies.aes]
version = "0.9"
features = ["zeroize"]
optional = true
default-features = false

[dependencies.aes-gcm]
version = "0.11"
features = [
    "aes",
    "zeroize",
]
optional = true
default-features = false

[dependencies.aws-lc-rs]
version = "1.17"
optional = true

[dependencies.boring]
version = "5.1"
optional = true

[dependencies.getrandom]
version = "0.4"
optional = true

[dependencies.ghash]
version = "0.6"
features = ["zeroize"]
optional = true
default-features = false

[dependencies.hmac]
version = "0.13"
optional = true

[dependencies.rand_chacha]
version = "0.10"
optional = true

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

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

[dependencies.subtle]
version = "2.6"

[dependencies.zeroize]
version = "1.9"

[dev-dependencies.criterion]
version = "0.8"
features = ["cargo_bench_support"]
default-features = false

[dev-dependencies.hex]
version = "0.4"

[dev-dependencies.rayon]
version = "1.12"

[lints.clippy]
all = "warn"
pedantic = "warn"

[lints.rust]
unsafe_code = "forbid"

[profile.bench]
lto = "thin"
codegen-units = 1