[package]
edition = "2024"
rust-version = "1.88.0"
name = "libfs"
version = "0.9.3"
authors = ["Steve Smith <tarkasteve@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "`libfs` is a library of file and filesystem operations that is supplementary to `std::fs`"
homepage = "https://github.com/tarka/xcp/libfs"
readme = "README.md"
keywords = [
"coreutils",
"files",
"filesystem",
"sparse",
]
categories = ["filesystem"]
license = "GPL-3.0-only"
repository = "https://github.com/tarka/xcp/libfs"
resolver = "2"
[features]
default = ["use_linux"]
test_no_acl = []
test_no_extents = []
test_no_reflink = []
test_no_sockets = []
test_no_sparse = []
use_linux = []
[lib]
name = "libfs"
path = "src/lib.rs"
[dependencies.cfg-if]
version = "1.0.4"
[dependencies.libc]
version = "0.2.180"
[dependencies.linux-raw-sys]
version = "0.12.1"
features = ["ioctl"]
[dependencies.log]
version = "0.4.29"
[dependencies.rustix]
version = "1.1.3"
features = ["fs"]
[dependencies.thiserror]
version = "2.0.18"
[dependencies.xattr]
version = "1.6.1"
[dev-dependencies.exacl]
version = "0.12.0"
[dev-dependencies.tempfile]
version = "3.24.0"
[lints.clippy]
upper_case_acronyms = "allow"