# 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 = "2021"
rust-version = "1.85"
name = "lzma-rust2"
version = "0.6.0"
build = false
exclude = ["/tests/data"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "LZMA/LZMA2 codec ported from 'tukaani xz for java'"
homepage = "https://github.com/hasenbanck/lzma-rust2/"
readme = "README.md"
keywords = ["lzma"]
license = "Apache-2.0"
repository = "https://github.com/hasenbanck/lzma-rust2/"

[package.metadata.docs.rs]
features = ["encoder"]
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
default = [
    "std",
    "optimization",
    "encoder",
]
encoder = []
optimization = []
std = []

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

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

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

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

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

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

[dependencies]

[dev-dependencies.criterion]
version = "0.7"
features = ["html_reports"]

[dev-dependencies.liblzma]
version = "0.4"
features = ["static"]
