[package]
edition = "2021"
rust-version = "1.84.1"
name = "xz4rust"
version = "0.2.2"
authors = ["Alexander Schütz <aschuetz@protonmail.com>"]
build = false
exclude = [
"xzcheck/*",
"generated_testfiles/*",
"test_files/*",
"benches/*",
"examples/*",
"test.sh",
"tests/*",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Memory safe pure Rust no-std & no alloc XZ decoder"
readme = "README.md"
keywords = [
"xz",
"lzma",
"compression",
"no-std",
]
categories = [
"compression",
"no-std",
"no-std::no-alloc",
]
license = "MIT"
repository = "https://github.com/AlexanderSchuetz97/xz4rust"
[package.metadata.docs.rs]
all-features = true
[features]
alloc = []
bcj = []
crc64 = []
default = [
"alloc",
"std",
"bcj",
"sha256",
"crc64",
"delta",
]
delta = []
no_unsafe = []
sha256 = ["sha2"]
std = ["alloc"]
[lib]
name = "xz4rust"
path = "src/lib.rs"
[dependencies.sha2]
version = "0.10.8"
optional = true
[dev-dependencies.hex]
version = "0.4.3"
[dev-dependencies.spin]
version = "0.10.0"
[target.'cfg(target_arch = "x86_64")'.dev-dependencies.xz-embedded-sys]
version = "0.1.1"
[target.'cfg(target_arch = "x86_64")'.dev-dependencies.xz2]
version = "0.1.7"
[profile.bench]
opt-level = 3
lto = "fat"
codegen-units = 1