[package]
edition = "2021"
name = "decmpfs"
version = "0.1.3"
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Apply OS-level transparent filesystem compression (APFS decmpfs / btrfs / NTFS) to a file in place."
readme = false
keywords = [
"apfs",
"btrfs",
"compression",
"decmpfs",
"ntfs",
]
categories = ["filesystem"]
license = "MIT"
repository = "https://github.com/SocketDev/decmpfs"
[features]
addon = [
"dep:zstd",
"dep:sha2",
]
default = []
exe = [
"dep:zstd",
"dep:sha2",
]
[lib]
name = "decmpfs"
path = "src/lib.rs"
[[bin]]
name = "decmpfs-stub"
path = "src/bin/decmpfs-stub.rs"
required-features = ["exe"]
[[test]]
name = "btrfs"
path = "tests/btrfs.rs"
[[test]]
name = "exe_selfreplace"
path = "tests/exe_selfreplace.rs"
[dependencies.sha2]
version = "=0.10.9"
optional = true
[dependencies.zstd]
version = "=0.13.3"
optional = true
[dev-dependencies.mockall]
version = "=0.15.0"
[dev-dependencies.proptest]
version = "=1.11.0"
[dev-dependencies.tempfile]
version = "=3.27.0"
[target.'cfg(any(target_os = "linux", target_os = "macos"))'.dependencies.libc]
version = "=0.2.186"
[target."cfg(windows)".dependencies.windows-sys]
version = "=0.59.0"
features = [
"Win32_Foundation",
"Win32_Security",
"Win32_Storage_FileSystem",
"Win32_System_IO",
]
[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = [
"cfg(coverage)",
"cfg(coverage_nightly)",
]