Cargo Features

[dependencies]
tos-tbpf = { version = "0.14.1", default-features = false, features = ["jit", "jit-enable-host-stack-frames", "fuzzer-not-safe-for-production", "debugger", "shuttle-test"] }
default = jit

The jit feature is set by default whenever tos-tbpf is added without default-features = false somewhere in the dependency tree.

jit default jit-enable-host-stack-frames?

Enables libc, rand ^0.8.5, and winapi

Affects tos-tbpf::jit, vm::Config.noop_instruction_rate, vm::Config.sanitize_user_provided_values

jit-enable-host-stack-frames = jit
fuzzer-not-safe-for-production = arbitrary
debugger

Enables gdbstub ^0.6.2

Affects interpreter::DebugState, tos-tbpf::debugger, vm::EbpfVm.debug_port

shuttle-test

Enables shuttle ^0.7.1

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.

arbitrary fuzzer-not-safe-for-production?