3 unstable releases

0.2.1 Feb 1, 2024
0.2.0 Jan 21, 2024
0.1.0 Jul 6, 2022

#5 in #btrfsutil

32 downloads per month
Used in 2 crates (via libbtrfsutil)

MIT license

3KB

libbtrfsutil-rs

Crates.io docs.rs

Rust bindings for libbtrfsutil.

Requirements

libbtrfsutil-sys generates the bindings at build time through bindgen. As such, you need to have libclang and libbtrfsutil installed on your system. To install them on Fedora:

# dnf install clang "pkgconfig(libbtrfsutil)"

Development

Run test:

$ CARGO_TARGET_X86_64_UNKNOWN_LINUX_GNU_RUNNER='sudo -E' cargo test

Dependencies

~0–3MB
~51K SLoC