Uses new Rust 2021
|0.1.1||Aug 28, 2022|
|0.1.0||Jul 15, 2022|
|0.0.5||May 24, 2022|
#6 in #xdp
37 downloads per month
A Rust library for BPF feature detection
eBPF support is a moving target when it comes to Linux versions. Knowing what our kernels currently support is necessary to determine which BPF features we can enable in the programs we write.
The checks here are modeled after bpftool's feature probe functionality.
To use in your project, add into your
[dependencies] bpf-feature = "0.0.5"
or using cargo-edit:
$ cargo add bpf-feature