craft-codec 0.2.2

Cryptographic Random-Access Framing Toolkit
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.85"
name = "craft-codec"
version = "0.2.2"
authors = ["theking90000 <martin.cogh@gmail.com>"]
build = false
include = [
    "/src",
    "/tests",
    "/benches",
    "/examples",
    "/docs",
    "/README.md",
    "/LICENSE",
    "/CHANGELOG.md",
    "/Cargo.toml",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Cryptographic Random-Access Framing Toolkit"
documentation = "https://docs.rs/craft-codec"
readme = "README.md"
keywords = [
    "framing",
    "io",
    "cryptography",
    "compression",
    "random-access",
]
categories = [
    "cryptography",
    "compression",
    "encoding",
]
license = "MIT"
repository = "https://github.com/theking90000/craft-codec"

[features]
aes-gcm = ["dep:aes-gcm"]
default = ["aes-gcm"]
lz4 = ["dep:lz4_flex"]
serde = ["dep:serde"]

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

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

[[test]]
name = "allocations"
path = "tests/allocations.rs"
harness = false

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

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

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

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

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

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

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

[dependencies.lz4_flex]
version = "0.14.0"
features = [
    "std",
    "safe-encode",
    "safe-decode",
    "checked-decode",
]
optional = true
default-features = false

[dependencies.serde]
version = "1.0"
features = ["derive"]
optional = true

[dev-dependencies.postcard]
version = "1.1"
features = ["use-std"]
default-features = false

[dev-dependencies.stats_alloc]
version = "0.1.10"

[lints.clippy]
undocumented_unsafe_blocks = "deny"

[lints.rust]
missing_docs = "warn"
unsafe_code = "forbid"