https://github.com/diananites/linapi
High level bindings to various Linux APIs and interfaces
https://github.com/diananites/linapi
bindings high-level-api linux rust-lang
Last synced: about 1 year ago
JSON representation
High level bindings to various Linux APIs and interfaces
- Host: GitHub
- URL: https://github.com/diananites/linapi
- Owner: DianaNites
- License: apache-2.0
- Created: 2019-10-17T05:00:32.000Z (over 6 years ago)
- Default Branch: main
- Last Pushed: 2023-09-10T23:24:21.000Z (almost 3 years ago)
- Last Synced: 2025-04-09T16:07:09.034Z (about 1 year ago)
- Topics: bindings, high-level-api, linux, rust-lang
- Language: Rust
- Homepage:
- Size: 266 KB
- Stars: 4
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE-APACHE
Awesome Lists containing this project
README
# Linapi
[](https://github.com/RichardLitt/standard-readme)
[](https://crates.io/crates/linapi)

[](https://docs.rs/linapi)
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
```toml
[dependencies]
linapi = "0.5.2"
```
### 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](CHANGELOG.md) 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
- Apache License, Version 2.0
([LICENSE-APACHE](LICENSE-APACHE) or
- MIT license
([LICENSE-MIT](LICENSE-MIT) or
at your option.