Cargo Features

[dependencies]
rbpf = { version = "0.3.0", default-features = false, features = ["std", "cargo-clippy", "cranelift"] }
default = std

The std feature is set by default whenever rbpf is added without default-features = false somewhere in the dependency tree.

std default

Enables std of combine and libc and time ^0.2

libc:

Optional Dependencies when using the standard library

Affects helpers::bpf_time_getns, helpers::bpf_trace_printf, helpers::sqrti, helpers::rand

cargo-clippy
cranelift

Enables cranelift-codegen ^0.99, cranelift-frontend ^0.99, cranelift-jit ^0.99, cranelift-module ^0.99, and cranelift-native ^0.99

cranelift-codegen:

Optional Dependencies for the CraneLift JIT