structured-zstd 0.0.50

Pure-Rust Zstandard (zstd) compression and decompression: all levels, streaming, dictionaries, no_std and WebAssembly ready — no FFI, no cmake
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.92"
name = "structured-zstd"
version = "0.0.50"
authors = [
    "Moritz Borcherding <moritz.borcherding@web.de>",
    "Dmitry Prudnikov <mail@polaz.com>",
]
build = false
exclude = [
    "fuzz_decodecorpus/*",
    "decodecorpus_files/*",
    "dict_tests/files/**",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Pure-Rust Zstandard (zstd) compression and decompression: all levels, streaming, dictionaries, no_std and WebAssembly ready — no FFI, no cmake"
homepage = "https://structured-world.github.io/structured-zstd/dev/bench/"
readme = "README.md"
keywords = [
    "zstd",
    "zstandard",
    "decompression",
    "compression",
    "no-std",
]
categories = [
    "compression",
    "no-std",
    "wasm",
    "encoding",
]
license = "Apache-2.0"
repository = "https://github.com/structured-world/structured-zstd"

[package.metadata.docs.rs]
features = [
    "std",
    "hash",
    "ldm",
    "dict-builder",
    "lsm",
]
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
bench-internals = []
copy-shape-stats = ["std"]
critical-section = ["dep:critical-section"]
default = [
    "hash",
    "ldm",
    "std",
    "kernel-scalar",
    "kernel-sse",
    "kernel-bmi2",
    "kernel-avx2",
    "kernel-neon",
    "kernel-sve",
    "kernel-simd128",
    "dict-builder",
]
dict-builder = [
    "std",
    "dep:fastrand",
]
fuzz-exports = []
hash = ["dep:twox-hash"]
kernel-avx2 = ["kernel-bmi2"]
kernel-bmi2 = ["kernel-sse"]
kernel-neon = []
kernel-scalar = []
kernel-simd128 = []
kernel-sse = []
kernel-sve = ["kernel-neon"]
kernel-trace = ["std"]
kernel-vbmi2 = ["kernel-avx2"]
ldm = ["hash"]
lsm = []
rustc-dep-of-std = [
    "dep:compiler_builtins",
    "dep:core",
    "dep:alloc",
]
std = []

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

[[bin]]
name = "structured-zstd"
path = "src/bin/structured-zstd/main.rs"
required-features = [
    "std",
    "dict-builder",
    "ldm",
]

[dependencies.alloc]
version = "1.0.0"
optional = true
package = "rustc-std-workspace-alloc"

[dependencies.compiler_builtins]
version = "0.1.2"
optional = true

[dependencies.core]
version = "1.0.0"
optional = true
package = "rustc-std-workspace-core"

[dependencies.critical-section]
version = "1.2"
optional = true

[dependencies.fastrand]
version = "2.3.0"
optional = true

[dependencies.twox-hash]
version = "2.0"
features = ["xxhash64"]
optional = true
default-features = false

[dev-dependencies.rand]
version = "0.10"