Skip to content

Commit

Permalink
build: switch to (final) version 3.0.0 of openidconnect
Browse files Browse the repository at this point in the history
  • Loading branch information
ctron committed Apr 16, 2023
1 parent 86b8c54 commit dfd7909
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 8 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "yew-oauth2"
version = "0.6.0"
version = "0.6.1"
authors = ["Jens Reimann <[email protected]>"]
edition = "2021"
license = "Apache-2.0"
Expand Down Expand Up @@ -31,7 +31,7 @@ web-sys = { version = "0.3", features = [
"Window",
] }

openidconnect = { version = "3.0.0-alpha.1", optional = true }
openidconnect = { version = "3.0", optional = true }
yew-nested-router = { version = "0.2", optional = true }

[features]
Expand Down
4 changes: 0 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,6 @@ yew-oauth2 = { version = "0.6", features = ["router"] }

OpenID Connect requires an additional dependency and can be enabled using the feature `openid`.

Starting with version `0.6.0-alpha.1`, it is possible to use `openidconnect-rs` version 3, which is the first version
supporting WebAssembly targets without patching. However, for the moment, only an alpha version of `openidconnect-rs` 3
is released.

## Examples

A quick example how to use it (see below for more complete examples):
Expand Down
2 changes: 1 addition & 1 deletion yew-oauth2-example/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ wasm-logger = "0.2"
yew = { version = "0.20", features = ["csr"] }
yew-nested-router = "0.2.0"

openidconnect = { version = "3.0.0-alpha.1", optional = true }
openidconnect = { version = "3.0", optional = true }

[features]
default = ["openid"]
Expand Down
2 changes: 1 addition & 1 deletion yew-oauth2-redirect-example/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ wasm-logger = "0.2"
yew = { version = "0.20", features = ["csr"] }
yew-nested-router = "0.2.0"

openidconnect = { version = "3.0.0-alpha.1", optional = true }
openidconnect = { version = "3.0", optional = true }

[features]
default = ["openid"]
Expand Down

0 comments on commit dfd7909

Please sign in to comment.