#linux #kernel #modules

linapi

High level bindings to various Linux APIs and interfaces

18 releases (4 breaking)

0.5.1 Apr 5, 2020
0.5.0 Apr 5, 2020
0.4.4 Apr 5, 2020
0.4.3 Feb 27, 2020
0.1.1 Oct 17, 2019

#127 in Unix APIs

Download history 116/week @ 2020-04-05 78/week @ 2020-04-12 18/week @ 2020-04-19 3/week @ 2020-04-26 5/week @ 2020-05-03 1/week @ 2020-05-17 23/week @ 2020-05-24 40/week @ 2020-05-31 27/week @ 2020-06-07 3/week @ 2020-06-14 1/week @ 2020-06-21 20/week @ 2020-06-28 22/week @ 2020-07-05 38/week @ 2020-07-12 24/week @ 2020-07-19

242 downloads per month
Used in linux_modules

MIT/Apache

70KB
1K SLoC

Linapi

standard-readme compliant linapi crates.io version and link linapi Crates.io license linapi docs.rs badge

High level bindings to various Linux APIs and interfaces

This crate provides high-level, safe, Rust bindings to the various Linux Kernel APIs and interfaces.

This crate is currently experimental, and the API will change.

Background

The goal of this crate is to provide relatively high-level bindings, specifically for the Linux Kernel.

The kernel exposes a lot of information through filesystems like sysfs, and there aren't a lot of good structured ways to handle it, on top of it being sparsely documented.

So this crate does the work of handling it for you!

Install

[dependencies]
linapi = "0.5.1"

Dependencies

  • The Linux Kernel. This crate has only been tested with version 5.5.3.

Usage

See the documentation for details

Changelog

Please see CHANGELOG for version history

Contributing

This crate is not looking for contributors at this time.

However, feel free to ask questions and request bindings using github issues, or suggest/discuss API improvements.

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as below, without any additional terms or conditions.

License

Licensed under either of

at your option.

Dependencies

~1.6–2.2MB
~47K SLoC