#bpf #ebpf #libbpf

bin+lib libbpf-cargo

Cargo plugin to build bpf programs

23 releases (7 breaking)

new 0.8.1 Jul 22, 2021
0.7.2 Jun 25, 2021
0.5.1 Mar 21, 2021
0.4.0 Dec 30, 2020
0.1.2 Jun 10, 2020

#137 in Unix APIs

Download history 111/week @ 2021-04-04 125/week @ 2021-04-11 224/week @ 2021-04-18 227/week @ 2021-04-25 277/week @ 2021-05-02 178/week @ 2021-05-09 178/week @ 2021-05-16 66/week @ 2021-05-23 114/week @ 2021-05-30 166/week @ 2021-06-06 157/week @ 2021-06-13 165/week @ 2021-06-20 169/week @ 2021-06-27 135/week @ 2021-07-04 267/week @ 2021-07-11 216/week @ 2021-07-18

771 downloads per month
Used in 2 crates

LGPL-2.1 OR BSD-2-Clause

655KB
4K 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

~7.5MB
~162K SLoC