Cargo Features

picoserve has no features set by default.

[dependencies]
picoserve = { version = "0.10.3", features = ["std", "alloc", "tokio", "embassy", "defmt", "log"] }
std tokio? = alloc
alloc std?
tokio = std

Enables tokio and std of serde

serde:

Provide impls for common standard library types like Vec<T> and HashMap<K, V>.
Requires a dependency on the Rust standard library.

embassy

Enables embassy-net and embassy-time

Affects picoserve::serve, picoserve::serve_with_state, picoserve::listen_and_serve, picoserve::listen_and_serve_with_state

defmt

Enables defmt and defmt of optional embassy-net

embassy-net:

Enable defmt

Affects logging::LogDisplay

log

Enables log