#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

#1175 in Cryptography

Download history 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 1340/week @ 2024-04-03 1414/week @ 2024-04-10 636/week @ 2024-04-17 875/week @ 2024-04-24 1692/week @ 2024-05-01 1058/week @ 2024-05-08

4,327 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