#cryptsetup #storage #linux

sys libcryptsetup-rs-sys

Low level bindings for libcryptsetup

13 unstable releases (3 breaking)

0.4.0 Feb 21, 2024
0.3.0 Oct 5, 2023
0.2.4 May 4, 2023
0.2.3 Feb 7, 2023
0.1.2 Mar 27, 2020

#996 in Cryptography

Download history 1621/week @ 2024-07-24 1218/week @ 2024-07-31 2423/week @ 2024-08-07 1995/week @ 2024-08-14 2773/week @ 2024-08-21 1362/week @ 2024-08-28 1585/week @ 2024-09-04 1452/week @ 2024-09-11 910/week @ 2024-09-18 1015/week @ 2024-09-25 1036/week @ 2024-10-02 1269/week @ 2024-10-09 1771/week @ 2024-10-16 795/week @ 2024-10-23 3250/week @ 2024-10-30 1273/week @ 2024-11-06

7,584 downloads per month
Used in 4 crates (2 directly)

MPL-2.0 license

10KB
82 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.2MB
~44K SLoC