Cargo Features
[dependencies]
fault-cli = { version = "0.6.0", default-features = false, features = ["stealth", "stealth-auto-build", "agent", "openapi"] }
- default = openapi
-
The
openapi
feature is set by default wheneverfault-cli
is added without
somewhere in the dependency tree.default-features = false - stealth = aya, aya-ebpf, aya-log, aya-log-ebpf, fault-ebpf-programs, nix
-
Affects
ebpf::initialize_stealth
,cli::StealthCommandCommon.ebpf
,cli::StealthCommandCommon.ebpf_process_name
,cli::StealthCommandCommon.ebpf_programs_dir
,cli::StealthCommandCommon.ebpf_proxy_ip
,cli::StealthCommandCommon.ebpf_proxy_iface
,cli::StealthCommandCommon.ebpf_proxy_port
,cli::RunCommandOptions.stealth
,ebpf::run_ebpf_proxy
,protocols::ebpf
… - stealth-auto-build = aya, aya-ebpf, aya-log, aya-log-ebpf, nix
-
Affects
ebpf::initialize_stealth
,cli::StealthCommandCommon.ebpf
,cli::StealthCommandCommon.ebpf_process_name
,cli::StealthCommandCommon.ebpf_programs_dir
,cli::StealthCommandCommon.ebpf_proxy_ip
,cli::StealthCommandCommon.ebpf_proxy_iface
,cli::StealthCommandCommon.ebpf_proxy_port
,cli::RunCommandOptions.stealth
,ebpf::run_ebpf_proxy
,protocols::ebpf
… - agent
-
Enables derive_builder, duckdb, ignore, inquire, pulldown-cmark, pulldown-cmark-to-cmark, similar, similar-string, swiftide, swiftide-agents, swiftide-core, swiftide-indexing, swiftide-macros, and tree-sitter-python
swiftide:
agent feature
Affects
cli::AgentCommands
,cli::AgentCommandCommon
,cli::AgentReviewConfig
,cli::AgentAdviceConfig
… - openapi default
-
Enables k8s-openapi ^0.24.0, minijinja, oas3, openapiv3, and percent-encoding
minijinja:
openapi feature
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.
- fault-ebpf-programs linux stealth?
-
Enables fault-ebpf-programs ^0.5.0
- aya linux stealth? stealth-auto-build?
- aya-ebpf linux stealth? stealth-auto-build?
- aya-log linux stealth? stealth-auto-build?
- aya-log-ebpf linux stealth? stealth-auto-build?
- nix linux stealth? stealth-auto-build?
-
Enables nix ^0.29.0