#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

#1211 in Cryptography

Download history 980/week @ 2024-06-02 839/week @ 2024-06-09 1178/week @ 2024-06-16 1236/week @ 2024-06-23 1162/week @ 2024-06-30 1290/week @ 2024-07-07 1151/week @ 2024-07-14 1961/week @ 2024-07-21 1314/week @ 2024-07-28 1743/week @ 2024-08-04 2595/week @ 2024-08-11 1920/week @ 2024-08-18 2563/week @ 2024-08-25 1056/week @ 2024-09-01 1612/week @ 2024-09-08 1176/week @ 2024-09-15

6,455 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.5MB
~41K SLoC