8 releases
0.2.4 | Jan 15, 2024 |
---|---|
0.2.3 | Feb 25, 2023 |
0.2.2 | Dec 19, 2022 |
0.2.1 | Oct 10, 2022 |
0.1.2 | Sep 26, 2022 |
#190 in Unix APIs
76,495 downloads per month
Used in 9 crates
(2 directly)
57KB
879 lines
linux-keyutils
Rust interface to the Linux key-management facility. Provides a safe interface around the raw system calls allowing user-space programs to perform key manipulation.
There is a good cloudflare blog discussing why it should be used.
Basic Usage
To use linux-keyutils
, first add this to your Cargo.toml
:
[dependencies]
linux-keyutils = "0.2"
For more information please view the full documentation. There is also a small example program in the examples directory.
Features
#![no_std]
by default.- For std programs
KeyError
implementsstd::error::Error
when thestd
feature of this crate enabled. - Small footprint, the library only relies on the
libc
andbitflags
crates.
License
Licensed under either of the following at your discretion:
- Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you shall be dual licensed as above, without any additional terms or conditions.
Dependencies
~145KB