Cargo Features

[dependencies]
yew-router-nested = { version = "0.16.1", default-features = false, features = ["core", "unit_alias", "router", "components", "agent", "service", "std_web", "web_sys"] }
default = core, unit_alias, web_sys

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

core default = components, router

Most everything

unit_alias default

TODO remove this

router core = agent

The Router component

Affects yew-router-nested::router

components core = agent

The button and anchor

Affects yew-router-nested::components

agent components? router? = service

The RouteAgent

Affects yew-router-nested::agent

service agent? = yew

The RouteService

Affects yew-router-nested::service, route::RouteState, route::RouteState

std_web = stdweb

Affects route::RouteState

web_sys default = gloo, js-sys, wasm-bindgen, web-sys

Affects route::RouteState

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.

yew service?

Enables yew ^0.19.0

gloo web_sys

Enables gloo ^0.4.0

js-sys web_sys
stdweb std_web?
wasm-bindgen web_sys
web-sys web_sys