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
jitfeature is set by default whenevertos-tbpfis added withoutsomewhere in the dependency tree.default-features = false - 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.