57 releases

0.26.1 Feb 26, 2026
0.26.0-beta.1 Aug 11, 2025
0.26.0-beta.0 Jul 24, 2025
0.25.0-beta.1 Dec 17, 2024
0.3.0 Jul 14, 2020

#41 in Unix APIs

Download history 64102/week @ 2025-11-14 57013/week @ 2025-11-21 44384/week @ 2025-11-28 45224/week @ 2025-12-05 53432/week @ 2025-12-12 34814/week @ 2025-12-19 23246/week @ 2025-12-26 46442/week @ 2026-01-02 79302/week @ 2026-01-09 60350/week @ 2026-01-16 66436/week @ 2026-01-23 80680/week @ 2026-01-30 72464/week @ 2026-02-06 95079/week @ 2026-02-13 97299/week @ 2026-02-20 76149/week @ 2026-02-27

355,785 downloads per month
Used in 48 crates (42 directly)

LGPL-2.1-only OR BSD-2-Clause

375KB
7.5K SLoC

CI rustc

libbpf-rs

crates.io badge

Idiomatic Rust wrapper around libbpf.

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

[dependencies]
libbpf-rs = "0.26.0"

See full documentation here.

This crate adheres to Cargo's semantic versioning rules. At a minimum, it builds with the most recent Rust stable release minus five minor versions ("N - 5"). E.g., assuming the most recent Rust stable is 1.68, the crate is guaranteed to build with 1.63 and higher.

Contributing

We welcome all contributions! Please see the contributor's guide for more information.

Dependencies

~10MB
~222K SLoC