#bpf #ebpf #libbpf

libbpf-rs

libbpf-rs is a safe, idiomatic, and opinionated wrapper around libbpf-sys

21 releases (10 breaking)

0.11.2 Jul 16, 2021
0.10.0 May 30, 2021
0.7.0 Jan 24, 2021
0.6.1 Dec 28, 2020
0.3.0 Jul 14, 2020

#56 in Unix APIs

Download history 343/week @ 2021-04-07 263/week @ 2021-04-14 429/week @ 2021-04-21 604/week @ 2021-04-28 524/week @ 2021-05-05 465/week @ 2021-05-12 462/week @ 2021-05-19 165/week @ 2021-05-26 291/week @ 2021-06-02 371/week @ 2021-06-09 301/week @ 2021-06-16 411/week @ 2021-06-23 414/week @ 2021-06-30 496/week @ 2021-07-07 500/week @ 2021-07-14 353/week @ 2021-07-21

1,766 downloads per month
Used in 2 crates

LGPL-2.1 OR BSD-2-Clause

560KB
2K SLoC

Rust

WARNING: The API is not stable and is subject to breakage. Any breakage will include a minor version bump pre-1.0 and a major version bump post-1.0. Semantic versioning will be followed post-1.0 release.

libbpf-rs

crates.io badge

Idiomatic rust wrapper around libbpf

To use in your project, add into your Cargo.toml:

[dependencies]
libbpf-rs = "0.11"

See full documentation here.

libbpf-cargo

crates.io badge

Helps you build and develop eBPF programs with standard rust tooling

To use in your project, add into your Cargo.toml:

[build-dependencies]
libbpf-cargo = "0.7"

See full documentation here.

Dependencies

~4MB
~80K SLoC