• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1[![CI](https://github.com/libbpf/libbpf-rs/actions/workflows/test.yml/badge.svg?branch=master)](https://github.com/libbpf/libbpf-rs/actions/workflows/test.yml)
2[![rustc](https://img.shields.io/badge/rustc-1.71+-blue.svg)](https://blog.rust-lang.org/2023/07/13/Rust-1.71.0.html)
3
4# libbpf-rs
5
6[![crates.io badge](https://img.shields.io/crates/v/libbpf-rs.svg)](https://crates.io/crates/libbpf-rs)
7
8Idiomatic Rust wrapper around [libbpf](https://github.com/libbpf/libbpf).
9
10- [Changelog](CHANGELOG.md)
11
12To use in your project, add into your `Cargo.toml`:
13```toml
14[dependencies]
15libbpf-rs = "0.24"
16```
17
18See [full documentation here](https://docs.rs/libbpf-rs).
19
20This crate adheres to Cargo's [semantic versioning rules][cargo-semver]. At a
21minimum, it builds with the most recent Rust stable release minus five minor
22versions ("N - 5"). E.g., assuming the most recent Rust stable is `1.68`, the
23crate is guaranteed to build with `1.63` and higher.
24
25## Contributing
26
27We welcome all contributions! Please see the [contributor's
28guide](../CONTRIBUTING.md) for more information.
29
30[cargo-semver]: https://doc.rust-lang.org/cargo/reference/resolver.html#semver-compatibility
31