turnloop-zstd-decoder 0.1.0-beta.2

Reusable pure-Rust Zstandard decoder, derived from ruzstd
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 = "2018"
rust-version = "1.97.1"
name = "turnloop-zstd-decoder"
version = "0.1.0-beta.2"
authors = [
    "Moritz Borcherding <moritz.borcherding@web.de>",
    "PerryTS contributors",
]
build = false
exclude = [
    "/decodecorpus_files/*",
    "!/decodecorpus_files/z000033.zst",
    "/dict_tests/",
    "/fuzz/",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Reusable pure-Rust Zstandard decoder, derived from ruzstd"
documentation = "https://docs.rs/turnloop-zstd-decoder"
readme = "README.md"
keywords = [
    "zstd",
    "zstandard",
    "decompression",
]
categories = ["compression"]
license = "MIT"
repository = "https://github.com/PerryTS/turnloop"
resolver = "3"

[package.metadata.turnloop-ci]
role = "codec"
wasi-tests = ["reuse"]

[features]
default = [
    "hash",
    "std",
]
dict_builder = [
    "std",
    "dep:fastrand",
]
fuzz_exports = []
hash = ["dep:twox-hash"]
std = []

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

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

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

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

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

[dev-dependencies.rand]
version = "0.8"
features = ["small_rng"]

[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies.criterion]
version = "0.5"
default-features = false

[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies.zstd]
version = "0.14"
default-features = false

[lints.rust]
unsafe_op_in_unsafe_fn = "deny"

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = [
    "cfg(loom)",
    'cfg(turnloop_backend, values("kqueue", "epoll", "iocp", "wasi_p2", "wasi_p3", "web", "unsupported"))',
]