# 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 = "oxiarc-zstd"
version = "0.2.4"
authors = ["COOLJAPAN OU (Team KitaSan)"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Pure Rust Zstandard (zstd) compression implementation for OxiArc"
readme = "README.md"
keywords = [
    "compression",
    "zstd",
    "zstandard",
    "fse",
    "huffman",
]
categories = [
    "compression",
    "encoding",
]
license = "Apache-2.0"
repository = "https://github.com/cool-japan/oxiarc"
resolver = "2"

[features]
default = []
parallel = ["rayon"]

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

[[bench]]
name = "parallel_bench"
path = "benches/parallel_bench.rs"

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

[dependencies.oxiarc-core]
version = "0.2"

[dependencies.rayon]
version = "1.11.0"
optional = true

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

[lints.clippy]
all = "warn"

[lints.rust]
unsafe_op_in_unsafe_fn = "warn"
