/
View dependency graph
Depends on
- dh-cargo (dh-sequence-cargo)
- rust-bitflags (librust-bitflags-2+std-dev, librust-bitflags-2-dev)
- rust-libc (librust-libc-0.2-dev)
- cargo, debhelper-compat, libstd-rust-dev, rustc
README (full)
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
KeyErrorimplementsstd::error::Errorwhen thestdfeature of this crate enabled. - Small footprint, the library only relies on the
libcandbitflagscrates.
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.
| dir | .github/ |
| dir | debian/ |
| dir | examples/ |
| dir | src/ |
| file | .cargo_vcs_info.json |
| file | .gitignore |
| file | .gitmodules |
| file | Cargo.lock |
| file | Cargo.toml |
| file | Cargo.toml.orig |
| file | README.md |
| file | tarpaulin.toml |