Skip to content

Commit

Permalink
chore: rename feature "router" to "nested-router"
Browse files Browse the repository at this point in the history
BREAKING-CHANGE: The feature named "router" got renamed to
"nested-router"
  • Loading branch information
ctron committed Jan 26, 2024
1 parent feeaec2 commit 9013b28
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ yew-nested-router = { version = "0.6.3", optional = true }

[features]
# Enable for Yew nested router support
router = ["yew-nested-router"]
nested-router = ["yew-nested-router"]
# Enable for OpenID Connect support
openid = ["openidconnect"]

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ Add to your `Cargo.toml`:
yew-oauth2 = "0.10"
```

By default, the `router` integration for [`yew-nested-router`](https://github.com/ctron/yew-nested-router) is disabled,
By default, the `nested-router` integration for [`yew-nested-router`](https://github.com/ctron/yew-nested-router) is disabled,
you can enable it using:

```toml
yew-oauth2 = { version = "0.10", features = ["router"] }
yew-oauth2 = { version = "0.10", features = ["nested-router"] }
```

## OpenID Connect
Expand Down

0 comments on commit 9013b28

Please sign in to comment.