Cargo Features
[dependencies]
zeph = { version = "0.21.2", default-features = false, features = ["desktop", "full", "ide", "server", "chat", "ml", "sandbox", "bench", "testing", "a2a", "acp", "acp-http", "candle", "classifiers", "metal", "cuda", "tui", "discord", "slack", "gateway", "prometheus", "scheduler", "otel", "pdf", "profiling", "profiling-alloc", "profiling-pyroscope", "gonka", "cocoon", "index", "sqlite", "postgres"] }
- default = scheduler, sqlite
-
These default features are set whenever
zephis added withoutsomewhere in the dependency tree.default-features = false - desktop full? = tui
-
=== Use-case bundles ===
- full = chat, classifiers, cocoon, desktop, gonka, ide, pdf, profiling, sandbox, scheduler, server, sqlite, testing
- ide full? = acp, acp-http
- server full? = a2a, gateway, otel, prometheus
- chat full? = discord, slack
- ml = candle, pdf
- sandbox full?
-
Enables sandbox of zeph-tools
zeph-tools:
Gates Linux-only landlock + seccompiler deps. macOS backend compiles unconditionally.
- bench
-
Enables zeph-bench
Affects
bootstrap::build_vault_provider… - testing full?
- a2a server?
-
=== Individual feature flags ===
- acp acp-http? ide?
-
Enables unstable-auth-methods, unstable-elicitation, unstable-logout, unstable-message-id, unstable-session-add-dirs, unstable-session-close, unstable-session-fork and unstable-session-resume of zeph-acp
- acp-http ide? = acp
- candle classifiers? cuda? metal? ml?
- classifiers full? = candle
-
Enables classifiers of zeph-core, zeph-llm, and zeph-sanitizer
- metal = candle
- cuda = candle
- tui desktop?
-
Enables zeph-tui
- discord chat?
-
Enables discord of zeph-channels
- slack chat?
-
Enables slack of zeph-channels
- gateway prometheus? server?
-
Enables zeph-gateway
- prometheus server? = gateway
-
Enables prometheus-client, prometheus of zeph-gateway
- scheduler default full?
-
Enables blake3, chrono, cron, and schemars, scheduler of zeph-core and daemon of zeph-scheduler
zeph-scheduler:
Enable Unix daemon lifecycle:
PidFile,detach_and_run, andrun_foreground.Pulls in
rustix(fs + process features) for advisory file locking. Only meaningful on Unix targets; daemon code is#[cfg(unix)]-gated. - otel profiling-pyroscope? server?
-
Enables opentelemetry ^0.31, opentelemetry-otlp ^0.31.1, opentelemetry_sdk ^0.31, and tracing-opentelemetry ^0.32.1
opentelemetry-otlp:
NOTE: grpc-tonic pulls tonic ^0.14 which coexists with qdrant-client's tonic 0.12.
Binary bloat is acceptable until qdrant-client upgrades (tracked in #2347). - pdf full? ml?
-
Enables pdf of zeph-memory
- profiling full? profiling-alloc? profiling-pyroscope?
-
Enables chrono, sysinfo ^0.38.4, and tracing-chrome, profiling of zeph-channels, profiling and sysinfo of zeph-core, profiling of zeph-llm, zeph-mcp, zeph-memory, zeph-skills, and zeph-tools
- profiling-alloc = profiling
-
Enables profiling-alloc of zeph-core
- profiling-pyroscope = otel, profiling
-
Enables pprof
- gonka full?
-
Database backend selection — mutually exclusive. Default includes sqlite.
NOTE: --all-features activates both, triggering compile_error! in zeph-db.
Use --features full or --features full,postgres instead. - cocoon full?
-
Enables cocoon of zeph-core, zeph-llm, and optional zeph-tui
- index
- sqlite default full?
-
Enables sqlite of zeph-core, zeph-db, zeph-index, zeph-mcp, zeph-memory, zeph-orchestration, optional zeph-scheduler, and zeph-tools
- postgres
-
Enables postgres of zeph-core, zeph-db, zeph-index, zeph-mcp, zeph-memory, zeph-orchestration, optional zeph-scheduler, and zeph-tools