Cargo Features
picoserve has no features set by default.
[dependencies]
picoserve = { version = "0.17.1", features = ["std", "alloc", "tokio", "embassy", "defmt", "log", "json", "ws"] }
- std tokio? = alloc
-
Use the standard library. Used by examples.
- alloc std?
-
Enable
FromRequestandContentfor some alloc types. - tokio = std
-
Use the
tokioruntime. Used by examples. - embassy
-
Use the
embassyruntime andembassy-netsockets.Enables embassy-net and embassy-time
Affects
picoserve::EmbassyRuntime,time::EmbassyTimer… - defmt
-
Emit log messages using the
defmtcrate.Enables defmt, defmt of serde-json-core and optional embassy-net
Affects
logging::LogDisplay… - log
-
Emit log messages using the
logcrate.Enables log
- json
-
Enable JSON support
Enables ryu and serde-json-core
Affects
extract::json,response::json… - ws
-
Enable WebSocket support
Enables data-encoding and lhash
Affects
response::ws…