Feature Flags Complete reference for all Cargo feature flags across the 22 workspace crates.
This document catalogs every Cargo feature flag across all 22 workspace crates.
The workspace contains 22 crates. Feature flags are defined in each crate's
Cargo.toml under [features].
The kernel crate has the most feature flags, controlling which subsystems are
compiled in.
Feature What it enables Key dependencies native (default)Tokio async runtime, full kernel boot tokio, tokio-util, futures eccCognitive substrate: causal graph, HNSW vector memory, tick loop blake3, clawft-core/vector-memory exochainCryptographic audit trail, resource tree, governance events rvf-crypto, rvf-wire, rvf-types, rvf-runtime, exo-resource-tree, ed25519-dalek, ciborium meshP2P WebSocket networking between nodes ed25519-dalek, tokio-tungstenite, futures-util clusterDistributed coordination: Raft consensus, sharding, replication ruvector-cluster, ruvector-raft, ruvector-replication, parking_lot os-patternsSelf-healing, dead-letter queue, metrics, structured logging (implies exochain) tilezeroTileZero governance gate cognitum-gate-tilezero (implies exochain) onnx-embeddingsReal ONNX model inference for embeddings ort, ndarray wasm-sandboxWasmtime-based tool execution sandbox wasmtime, wasmtime-wasi containersContainer runtime integration markers (none extra)
tilezero ──> exochain
os-patterns ──> exochain
cluster (independent)
mesh (independent)
ecc (independent)
onnx-embeddings (independent)
wasm-sandbox (independent)
containers (independent)
The top-level WeftOS binary crate. All features delegate to clawft-kernel.
Feature What it enables native (default)Tokio runtime via clawft-kernel/native exochainAudit trail via clawft-kernel/exochain clusterClustering via clawft-kernel/cluster meshMesh networking via clawft-kernel/mesh eccCognitive substrate via clawft-kernel/ecc wasm-sandboxWASM sandbox via clawft-kernel/wasm-sandbox containersContainers via clawft-kernel/containers os-patternsOS patterns via clawft-kernel/os-patterns fullAll of the above
Feature What it enables Key dependencies full (default)Full feature set marker (none extra) native (default)Tokio runtime, native filesystem, file watcher tokio, tokio-util, dirs, notify browserBrowser/WASM target support wasm-bindgen-futures, js-sys, futures-channel vector-memoryIn-memory HNSW vector store rand, instant-distance rvfRVF deep integration rvf-runtime, rvf-types, sha2, reqwest (implies vector-memory) signingEd25519 cryptographic signing ed25519-dalek, sha2, rand
Feature What it enables channels (default)Channel integrations (Telegram, Slack, etc.) services (default)Background services (scheduler, delegation) delegate (default)Agent delegation support api (default)REST/WebSocket API server vector-memoryVector memory for semantic search voiceVoice input/output (VAD, wake word)
The weave CLI binary for kernel management.
Feature What it enables clusterCluster management commands exochainChain inspection commands rvf-rpcRVF wire protocol for remote queries
Feature What it enables native (default)Home directory resolution via dirs browserUUID generation via JS, getrandom for WASM
Feature What it enables native (default)Tokio runtime, reqwest HTTP, dirs for home directory browserwasm-bindgen, web-sys, js-sys for browser targets
Feature What it enables native (default)reqwest with rustls-tls, Tokio runtime browserBrowser-compatible HTTP via Fetch API
Feature What it enables native-exec (default)Native shell command execution native (default)Tokio runtime, native platform browserBrowser target support canvasCanvas rendering support vector-memoryVector memory via clawft-core delegateAgent delegation via clawft-services voiceVoice tools via clawft-plugin
Feature What it enables native (default)tokio-util for native cancellation voiceVoice pipeline (VAD + wake word detection) voice-sttSpeech-to-text marker voice-ttsText-to-speech marker voice-vadVoice activity detection voice-wakeWake word detection
Feature What it enables emailEmail channel integration whatsappWhatsApp channel integration signalSignal channel integration matrixMatrix channel integration google-chatGoogle Chat channel integration ircIRC channel integration teamsMicrosoft Teams channel integration
Feature What it enables delegateRegex-based delegation routing rvfRVF integration markers test-utilsTest utility helpers clawhubClawHub skill marketplace apiREST/WS API server (axum, tower-http)
Feature What it enables browserFull browser WASM build (clawft-core, clawft-llm, clawft-tools, wasm-bindgen) wasm-pluginsWASM plugin host (wasmtime) alloc-talcTalc allocator for WASM alloc-lollol_alloc allocator for WASM alloc-tracingAllocation tracing
Feature What it enables rustRust grammar for tree-sitter typescriptTypeScript grammar for tree-sitter pythonPython grammar for tree-sitter javascriptJavaScript grammar for tree-sitter
The following crates define no feature flags (empty [features] or no section):
clawft-security
clawft-plugin-browser
clawft-plugin-calendar
clawft-plugin-cargo
clawft-plugin-containers
clawft-plugin-git
clawft-plugin-oauth2
exo-resource-tree
scripts/build.sh native
# Only the default `native` feature. Fastest compile times.
What you get : Process table, agent supervision, IPC, basic tools.
What you miss : No audit trail, no cognitive substrate, no mesh.
scripts/build.sh native --features ecc,exochain,os-patterns
What you get : Cognitive substrate (causal graph, HNSW, tick loop),
cryptographic audit trail, self-healing, structured metrics.
What you miss : No mesh networking, no clustering, no WASM sandbox.
scripts/build.sh native --features ecc,exochain,os-patterns,mesh,cluster
What you get : Everything in Standard plus P2P mesh networking and
Raft-based distributed consensus.
scripts/build.sh native --features ecc,exochain,os-patterns,mesh,cluster,onnx-embeddings,wasm-sandbox,containers,tilezero
Or use the weftos crate's full feature:
cargo build -p weftos --features full
Requirements : ONNX model downloaded (scripts/download-model.sh),
Wasmtime-compatible host.
K-Phase Features Required K0 (Boot) nativeK1 (Supervisor) nativeK2 (IPC) nativeK3 (WASM) native, wasm-sandboxK3c (ECC) native, eccK4 (Containers) native, containers, exochainK5 (Apps) native, exochainK6 (Mesh) native, mesh, clusterOS Patterns native, exochain, os-patterns
At runtime, weave kernel status reports which feature gates were compiled
in. During development, scripts/build.sh check validates that the selected
feature combination compiles cleanly.
Add the feature and its optional deps to crates/clawft-kernel/Cargo.toml.
Guard code with #[cfg(feature = "your-feature")].
Add a row to the tables above.
Run scripts/build.sh gate to verify all combinations still compile.