4 releases (2 breaking)
|new 0.3.0||Jan 23, 2023|
|0.2.0||Apr 20, 2022|
|0.1.1||Nov 4, 2021|
|0.1.0||Aug 11, 2020|
#163 in Unix APIs
4,130 downloads per month
Used in stratisd
Rust bindings for libblkid
libblkid lowest supported version
The lowest supported version of libblkid used with these bindings is 2.33.2.
libblkid_rs provides programmatic access in Rust to the C library
The organization of the modules reflects the organization of the modules in the C library. The main goal of this library is to maintain the same general structure while taking advantage of Rust idioms.
List of methods modified
blkid_devno_to_wholedisk- This bindings method handles the buffer internally and therefore does not require a buffer argument. The limit for the maximum size of the returned device name is 4096 bytes. Please open an issue if more characters are required.
blkid_get_dev_size- This method takes a
&Pathin the bindings and provides libblkid with the desired file descriptor.