Cargo Features

[dependencies]
cc-agent-sdk = { version = "0.1.7", default-features = false, features = ["yaml", "sandbox", "hot-reload"] }
default = yaml

The yaml feature is set by default whenever cc-agent-sdk is added without default-features = false somewhere in the dependency tree.

yaml default = serde_yaml
sandbox = wasm-sandbox

Affects sandbox::SandboxExecutor

hot-reload = notify, notify-debouncer-mini

Affects hot_reload::HotReloadWatcher

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.

serde_yaml yaml
notify hot-reload?

Enables notify ^7.0

Optional dependencies (defined locally, not from workspace)

notify-debouncer-mini hot-reload?

Enables notify-debouncer-mini ^0.5

wasm-sandbox sandbox?

Enables wasm-sandbox ^0.1