5 stable releases

1.2.1 Mar 27, 2020
1.2.0 Mar 26, 2020
1.1.0 May 18, 2018
1.0.1 May 8, 2018
1.0.0 May 7, 2018

#27 in #sudo

21 downloads per month
Used in 2 crates (via sudo_plugin)

Apache-2.0

10KB
53 lines

sudo_plugin-sys

Build Status Latest Version License

Autogenerated FFI definitions for the sudo_plugin(8) facility.

Sudo Plugin API Version

This crate provides a sudo_plugin.h for API version 1.9, but will preferentially build against system-installed versions of this header when available.

Building

cargo build

Contributions

Contributions are welcome!

License

sudo_plugin-sys is distributed under the terms of the Apache License Version 2.0).

See LICENSE-APACHE for details.


lib.rs:

This crate is a (lighly enhanced) set of bindgen-generated Rust FFI bindings for the sudo_plugin(8) facility. In general, it is expected that end-users will prefer to use the handcrafted Rust wrappers from the sudo_plugin crate which accompanies this project.

Dependencies

~0–2MB
~38K SLoC