9 releases

Uses new Rust 2021

0.2.1 Aug 26, 2022
0.2.0 Jul 27, 2022
0.1.6 Nov 30, 2021
0.1.5 Apr 23, 2021
0.1.0 Jan 10, 2020

#188 in Build Utils

Download history 587/week @ 2022-06-10 674/week @ 2022-06-17 749/week @ 2022-06-24 1270/week @ 2022-07-01 1362/week @ 2022-07-08 566/week @ 2022-07-15 805/week @ 2022-07-22 1291/week @ 2022-07-29 798/week @ 2022-08-05 1020/week @ 2022-08-12 1069/week @ 2022-08-19 838/week @ 2022-08-26 664/week @ 2022-09-02 738/week @ 2022-09-09 700/week @ 2022-09-16 731/week @ 2022-09-23

3,044 downloads per month
Used in 4 crates (via libcryptsetup-rs)

MPL-2.0 license

10KB
74 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–1.5MB
~32K SLoC