3 unstable releases

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

#123 in #bindgen

Download history 1/week @ 2025-05-28 25/week @ 2025-06-11 15/week @ 2025-06-18 12/week @ 2025-06-25 2/week @ 2025-07-02 47/week @ 2025-07-09 21/week @ 2025-07-16 6/week @ 2025-07-23 27/week @ 2025-08-06 147/week @ 2025-08-13 169/week @ 2025-08-20 97/week @ 2025-08-27 40/week @ 2025-09-03 135/week @ 2025-09-10

471 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–3.5MB
~52K SLoC