xjp-oidc 1.1.0

OIDC/OAuth2 SDK for Rust - Server and WASM support
Documentation
[dependencies.async-trait]
version = "0.1"

[dependencies.axum-core]
optional = true
version = "0.4"

[dependencies.axum-extra]
features = ["typed-header"]
optional = true
version = "0.9"

[dependencies.base64]
version = "0.22"

[dependencies.eventsource-client]
optional = true
version = "0.12"

[dependencies.futures]
version = "0.3"

[dependencies.futures-util]
optional = true
version = "0.3"

[dependencies.gloo-net]
optional = true
version = "0.5"

[dependencies.http]
optional = true
version = "1.0"

[dependencies.josekit]
version = "0.8"

[dependencies.lru]
optional = true
version = "0.12"

[dependencies.moka]
features = ["future"]
optional = true
version = "0.12"

[dependencies.rand]
version = "0.8"

[dependencies.reqwest]
default-features = false
optional = true
version = "0.12"

[dependencies.serde]
features = ["derive"]
version = "1.0"

[dependencies.serde_json]
version = "1.0"

[dependencies.sha2]
version = "0.10"

[dependencies.thiserror]
version = "1.0"

[dependencies.time]
features = ["serde", "serde-human-readable"]
version = "0.3"

[dependencies.tokio]
features = ["macros", "rt", "time"]
optional = true
version = "1.38"

[dependencies.tokio-stream]
optional = true
version = "0.1"

[dependencies.tower]
optional = true
version = "0.4"

[dependencies.tracing]
optional = true
version = "0.1"

[dependencies.url]
features = ["serde"]
version = "2.5"

[dependencies.urlencoding]
version = "2.1"

[dependencies.wasm-bindgen]
optional = true
version = "0.2"

[dependencies.wasm-bindgen-futures]
optional = true
version = "0.4"

[dependencies.web-sys]
features = ["Window", "Request", "Response", "Headers", "RequestCredentials"]
optional = true
version = "0.3"

[dev-dependencies.axum]
version = "0.7"

[dev-dependencies.chrono]
version = "0.4"

[dev-dependencies.clap]
features = ["derive"]
version = "4.5"

[dev-dependencies.criterion]
version = "0.5"

[dev-dependencies.dotenvy]
version = "0.15"

[dev-dependencies.mockito]
version = "1.2"

[dev-dependencies.proptest]
version = "1.5"

[dev-dependencies.serde_json]
version = "1.0"

[dev-dependencies.tokio]
features = ["full", "test-util"]
version = "1.38"

[dev-dependencies.tower]
version = "0.5"

[dev-dependencies.tracing-appender]
version = "0.2"

[dev-dependencies.tracing-subscriber]
features = ["env-filter", "json"]
version = "0.3"

[dev-dependencies.wiremock]
version = "0.5"

[[example]]
name = "new_features_example"
path = "examples/new_features_example.rs"

[features]
axum = ["axum-core", "axum-extra", "tower", "http"]
browser-min = []
default = ["http-reqwest", "tls-rustls", "tracing", "moka", "lru", "verifier"]
http-reqwest = ["reqwest", "reqwest/json", "reqwest/rustls-tls", "reqwest/cookies"]
http-wasm = ["gloo-net", "wasm-bindgen", "wasm-bindgen-futures", "web-sys"]
lru = ["dep:lru"]
moka = ["dep:moka", "tokio"]
sse = ["eventsource-client", "futures-util", "tokio-stream"]
tls-rustls = []
tracing = ["dep:tracing"]
verifier = []

[lib]
name = "xjp_oidc"
path = "src/lib.rs"

[package]
authors = ["XiaojinPro Team"]
autobenches = false
autobins = false
autoexamples = false
autotests = false
build = false
categories = ["authentication", "web-programming", "wasm"]
description = "OIDC/OAuth2 SDK for Rust - Server and WASM support"
documentation = "https://docs.rs/xjp-oidc"
edition = "2021"
homepage = "https://github.com/xiaojinpro/xjp-oidc"
keywords = ["oidc", "oauth2", "authentication", "jwt", "wasm"]
license = "MIT OR Apache-2.0"
name = "xjp-oidc"
readme = "README.md"
repository = "https://github.com/xiaojinpro/xjp-oidc"
rust-version = "1.82"
version = "1.1.0"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
targets = ["x86_64-unknown-linux-gnu", "wasm32-unknown-unknown"]

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.moka]
features = ["future"]
version = "0.12"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.tokio]
features = ["macros", "rt-multi-thread", "time"]
version = "1.38"

[target.'cfg(target_arch = "wasm32")'.dependencies.getrandom]
features = ["js"]
version = "0.2"

[[test]]
name = "auth_url_tests"
path = "tests/auth_url_tests.rs"

[[test]]
name = "cache_tests"
path = "tests/cache_tests.rs"

[[test]]
name = "discovery_tests"
path = "tests/discovery_tests.rs"

[[test]]
name = "id_token_tests"
path = "tests/id_token_tests.rs"

[[test]]
name = "integration_dcr_test"
path = "tests/integration_dcr_test.rs"

[[test]]
name = "integration_exchange_test"
path = "tests/integration_exchange_test.rs"

[[test]]
name = "integration_new_features_test"
path = "tests/integration_new_features_test.rs"

[[test]]
name = "integration_verifier_test"
path = "tests/integration_verifier_test.rs"

[[test]]
name = "introspect_userinfo_test"
path = "tests/introspect_userinfo_test.rs"

[[test]]
name = "jwks_tests"
path = "tests/jwks_tests.rs"

[[test]]
name = "pkce_tests"
path = "tests/pkce_tests.rs"