mzstd 0.2.1

Zstandard (RFC 8878) compression and decompression in safe Rust; single-threaded encoding is byte-identical to zstd 1.5.7
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 = "mzstd"
version = "0.2.1"
build = false
exclude = [
    ".github/**",
    "architecture/**",
    "benchmarks/**",
    "docs/**",
    "fuzz/**",
    "mzstd-ffi/**",
    "specifications/**",
    "target/**",
    "testdata/**",
    "zstd-ffi/**",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Zstandard (RFC 8878) compression and decompression in safe Rust; single-threaded encoding is byte-identical to zstd 1.5.7"
homepage = "https://github.com/M-Compressors/mzstd"
documentation = "https://docs.rs/mzstd"
readme = "README.md"
keywords = [
    "zstd",
    "zstandard",
    "compression",
    "encoder",
    "decoder",
]
categories = [
    "compression",
    "algorithms",
    "no-std",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/M-Compressors/mzstd"

[features]
compression = [
    "dep:branches",
    "dep:fearless_simd",
    "dep:fearless_simd_macros",
    "dep:thiserror",
]
decompression = [
    "dep:fearless_simd",
    "dep:fearless_simd_macros",
    "dep:thiserror",
]
default = [
    "std",
    "compression",
    "decompression",
]
hotpath = [
    "dep:hotpath",
    "hotpath/hotpath",
]
hotpath-alloc = [
    "hotpath",
    "hotpath/hotpath-alloc",
]
hotpath-cpu = [
    "hotpath",
    "hotpath/hotpath-cpu",
]
no_std = ["fearless_simd?/libm"]
std = [
    "branches?/std",
    "fearless_simd?/std",
    "thiserror?/std",
]

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

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

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

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

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

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

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

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

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

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

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

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

[[bench]]
name = "compress"
path = "benches/compress.rs"
harness = false
required-features = ["compression"]

[[bench]]
name = "decompress"
path = "benches/decompress.rs"
harness = false
required-features = ["decompression"]

[[bench]]
name = "parallel"
path = "benches/parallel.rs"
harness = false
required-features = ["compression"]

[dependencies.branches]
version = "0.5"
features = ["prefetch"]
optional = true
default-features = false

[dependencies.fearless_simd]
version = "1"
optional = true
default-features = false

[dependencies.fearless_simd_macros]
version = "0.1"
optional = true

[dependencies.hotpath]
version = "0.28"
optional = true

[dependencies.thiserror]
version = "2"
optional = true
default-features = false

[dev-dependencies.criterion]
version = "0.8"

[dev-dependencies.fearless_simd]
version = "1"
features = [
    "force_support_fallback",
    "std",
]
default-features = false

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