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

#1044 in Cryptography

Download history 743/week @ 2023-12-20 710/week @ 2023-12-27 2023/week @ 2024-01-03 1024/week @ 2024-01-10 1214/week @ 2024-01-17 904/week @ 2024-01-24 934/week @ 2024-01-31 1400/week @ 2024-02-07 829/week @ 2024-02-14 1114/week @ 2024-02-21 889/week @ 2024-02-28 926/week @ 2024-03-06 1219/week @ 2024-03-13 2047/week @ 2024-03-20 966/week @ 2024-03-27 1301/week @ 2024-04-03

5,860 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–2MB
~40K SLoC