#bpf #ebpf #libbpf

bin+lib libbpf-cargo

Cargo plugin to build bpf programs

15 releases (5 breaking)

new 0.6.0 Apr 20, 2021
0.5.1 Mar 21, 2021
0.4.3 Jan 25, 2021
0.4.0 Dec 30, 2020
0.1.2 Jun 10, 2020

#213 in Unix APIs

Download history 43/week @ 2020-12-30 81/week @ 2021-01-06 80/week @ 2021-01-13 92/week @ 2021-01-20 40/week @ 2021-01-27 45/week @ 2021-02-03 201/week @ 2021-02-10 77/week @ 2021-02-17 16/week @ 2021-02-24 70/week @ 2021-03-03 42/week @ 2021-03-10 41/week @ 2021-03-17 79/week @ 2021-03-24 98/week @ 2021-03-31 104/week @ 2021-04-07 192/week @ 2021-04-14

344 downloads per month

LGPL-2.1 OR BSD-2-Clause

665KB
3.5K 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.8"

See full documentation here.

libbpf-cargo

crates.io badge

Cargo subcommand to build bpf programs

To use:

$ cargo install libbpf-cargo
$ cargo libbpf --help

See full documentation here.

Dependencies

~4.5–6MB
~126K SLoC