#linux #kernel #modules


High level bindings to various Linux APIs and interfaces

21 releases

0.6.0-alpha.0 May 25, 2023
0.5.2 Jul 23, 2021
0.5.1 Apr 5, 2020
0.4.3 Feb 27, 2020
0.1.1 Oct 17, 2019

#225 in Unix APIs

Download history 58/week @ 2023-02-13 47/week @ 2023-02-20 2/week @ 2023-02-27 16/week @ 2023-03-06 47/week @ 2023-03-13 4/week @ 2023-03-20 9/week @ 2023-03-27 6/week @ 2023-04-03 32/week @ 2023-04-10 5/week @ 2023-04-17 14/week @ 2023-04-24 17/week @ 2023-05-01 45/week @ 2023-05-08 8/week @ 2023-05-15 125/week @ 2023-05-22 50/week @ 2023-05-29

228 downloads per month
Used in linux_modules




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.


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!


linapi = "0.5.3"


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


See the documentation for details


Please see CHANGELOG for version history


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.


Licensed under either of

at your option.


~72K SLoC