Cargo Features

[dependencies]
corvus = { version = "0.5.0", default-features = false, features = ["hardware", "mcp-runtime", "peripheral-rpi", "browser-native", "fantoccini", "sandbox-landlock", "sandbox-bubblewrap", "landlock", "probe", "rag-pdf", "memory-surreal", "wasmi"] }
default = hardware, mcp-runtime

These default features are set whenever corvus is added without default-features = false somewhere in the dependency tree.

hardware default = nusb, tokio-serial

Affects discover::list_usb_devices, introspect::introspect_device, hardware::discover, hardware::introspect, peripherals::serial, peripherals::arduino_flash, peripherals::arduino_upload, peripherals::capabilities_tool, peripherals::nucleo_flash, peripherals::uno_q_bridge, peripherals::uno_q_setup, peripherals::create_peripheral_tools

mcp-runtime default

MCP runtime support (stdio tool discovery + execution adapters)

Affects tools::mcp

peripheral-rpi = rppal

Affects peripherals::rpi

browser-native fantoccini?

Browser backend feature alias used by cfg(feature = "browser-native")

Enables fantoccini

Optional Rust-native browser automation backend

fantoccini = browser-native

Backward-compatible alias for older invocations

sandbox-landlock landlock?

Sandbox feature aliases used by cfg(feature = "sandbox-*")

Enables landlock

Affects landlock::LandlockSandbox, security::landlock

sandbox-bubblewrap

Affects security::bubblewrap

landlock = sandbox-landlock

Backward-compatible alias for older invocations

probe

probe = probe-rs for Nucleo memory read (adds ~50 deps; optional)

Enables probe-rs ^0.30

probe-rs for STM32/Nucleo memory read (Phase B)

rag-pdf

rag-pdf = PDF ingestion for datasheet RAG

Enables pdf-extract

PDF extraction for datasheet RAG (optional, enable with --features rag-pdf)

memory-surreal

memory-surreal = SurrealDB-backed memory backend

Enables surrealdb ^2.3

Affects memory::surreal

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.

wasmi implicit feature

Enables wasmi ^0.40

WASM execution support for runtime sandboxing

nusb hardware

Enables nusb

USB device enumeration (hardware discovery)

tokio-serial hardware

Enables tokio-serial

Serial port for peripheral communication (STM32, etc.)

rppal linux peripheral-rpi?