10 releases (6 breaking)

0.7.1 Feb 1, 2024
0.6.0 Aug 23, 2023
0.5.2 Jan 3, 2023
0.5.1 Dec 8, 2022
0.2.0 Mar 31, 2022

#453 in Filesystem

Download history 38/week @ 2024-09-08 1/week @ 2024-09-15 25/week @ 2024-09-22

94 downloads per month
Used in stromatekt

MIT license

34KB
705 lines

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.2–3MB
~53K SLoC