| Crates.io | bpf-rs |
| lib.rs | bpf-rs |
| version | 0.3.0 |
| created_at | 2022-04-21 00:45:33.717381+00 |
| updated_at | 2022-08-28 19:07:29.739889+00 |
| description | A safe, lean library for inspecting and querying eBPF objects |
| homepage | https://bpfdeploy.io |
| repository | https://github.com/bpfdeploy-io/bpf-rs |
| max_upload_size | |
| id | 571270 |
| size | 51,522 |
A safe, flexible library for inspecting and querying eBPF objects.
It is based upon the work of libbpf-sys to safely create wrappers around libbpf. A lot of the design & inspiration stems from bpftool and libbpf-rs.
This crate is NOT meant to help with the writing and loading of eBPF programs and maps. For that, we highly recommend libbpf-rs and libbpf-cargo.
The goal of this library is to aid in eBPF clients interested in managing and monitoring their host's eBPF objects. As an example of this use case, check out bpf-feature.
To use in your project, add into your Cargo.toml:
[dependencies]
bpf-rs = "0.3.0"
or using cargo-edit:
$ cargo add bpf-rs
BSD 2-Clause - Maintained by bpfdeploy.io