#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

#1023 in Cryptography

Download history 1103/week @ 2024-07-02 1450/week @ 2024-07-09 1332/week @ 2024-07-16 1829/week @ 2024-07-23 1206/week @ 2024-07-30 2000/week @ 2024-08-06 2367/week @ 2024-08-13 2150/week @ 2024-08-20 2102/week @ 2024-08-27 1441/week @ 2024-09-03 1339/week @ 2024-09-10 1090/week @ 2024-09-17 1206/week @ 2024-09-24 903/week @ 2024-10-01 973/week @ 2024-10-08 2155/week @ 2024-10-15

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