Cargo Features

Leptos-Use has no features set by default.

[dependencies]
leptos-use = { version = "0.10.9", features = ["actix", "axum", "math", "prost", "serde", "spin", "ssr", "msgpack", "docs"] }
actix

Enables actix-web, http ^0.2, and leptos_actix

axum

Enables http and leptos_axum

math = num

Affects leptos-use::math

prost = base64

Enables prost

serde = serde_json

Enables serde

spin

Enables http and leptos-spin ^0.1

ssr
msgpack

Enables rmp-serde and serde

Affects use_webtransport::SendableStream.send, use_webtransport::SendableStream.send_async, use_webtransport::ReceivableStream.receive, use_webtransport::ReceivableStream.try_receive

docs

Affects leptos-use::docs

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.

base64 prost?

Enables base64 ^0.21

num math?
serde_json serde?