14 releases

new 0.4.1 Apr 16, 2025
0.4.0 Feb 21, 2024
0.3.0 Oct 5, 2023
0.2.4 May 4, 2023
0.1.2 Mar 27, 2020

#1530 in Cryptography

Download history 256/week @ 2024-12-26 1885/week @ 2025-01-02 1766/week @ 2025-01-09 1602/week @ 2025-01-16 1866/week @ 2025-01-23 2274/week @ 2025-01-30 3250/week @ 2025-02-06 2173/week @ 2025-02-13 1641/week @ 2025-02-20 1863/week @ 2025-02-27 1799/week @ 2025-03-06 979/week @ 2025-03-13 1091/week @ 2025-03-20 858/week @ 2025-03-27 995/week @ 2025-04-03 1389/week @ 2025-04-10

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

MPL-2.0 license

13KB
83 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.6MB
~43K SLoC