#storage #linux #cryptsetup

sys libcryptsetup-rs-sys

Low level bindings for libcryptsetup

17 unstable releases (5 breaking)

0.6.1 Oct 31, 2025
0.6.0 May 28, 2025
0.5.0 May 6, 2025
0.4.0 Feb 21, 2024
0.1.2 Mar 27, 2020

#1256 in Cryptography

Download history 2803/week @ 2025-08-27 3037/week @ 2025-09-03 3018/week @ 2025-09-10 2361/week @ 2025-09-17 2755/week @ 2025-09-24 2967/week @ 2025-10-01 3313/week @ 2025-10-08 2996/week @ 2025-10-15 2740/week @ 2025-10-22 1942/week @ 2025-10-29 1379/week @ 2025-11-05 1127/week @ 2025-11-12 2186/week @ 2025-11-19 1739/week @ 2025-11-26 2059/week @ 2025-12-03 2021/week @ 2025-12-10

8,242 downloads per month
Used in 4 crates (2 directly)

MPL-2.0 license

13KB
84 lines

libcryptsetup-rs-sys

This crate provides low-level Rust bindings generated by bindgen for libcryptsetup.

Building

The libcryptsetup bindings require some dependencies outside of cargo to build properly:

  1. cryptsetup (provided by cryptsetup on Fedora)
  2. cryptsetup development headers (provided by cryptsetup-devel on Fedora)
  3. libclang (provided by clang on Fedora)

Testing

Tests are automatically generated by bindgen. To check that bindings have been generated correctly, run:

cargo test

No runtime deps

~0–2.1MB
~42K SLoC