Cargo Features

RedBPF has no features set by default.

[dependencies]
redbpf = { version = "2.3.0", features = ["build", "build_cache", "load"] }
build
build_cache = ring, serde_derive, serde_json
load = futures, tokio

Affects redbpf::load

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

serde_derive build_cache?
serde_json build_cache?
ring build_cache?

Enables ring ^0.16

futures load?
tokio load?