Cargo Features

yew-oauth2 has no features set by default.

[dependencies]
yew-oauth2 = { version = "0.11.0", features = ["openid", "yew-nested-router"] }
openid = openidconnect

Enable for OpenID Connect support

Affects context::openid, location::openid, router::openid, context::Claims, context::Authentication.claims, hook::openid, yew-oauth2::openid

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.

openidconnect openid?
yew-nested-router implicit feature

Enables yew-nested-router

yew-nested-router:

A router for Yew which supports nesting

Affects redirect::router