[package] name = "aliri_oauth2" description = "JWT authorization based on validating OAuth2 scopes" keywords = [ "jose", "jwk", "jwt", "oauth2", "auth" ] categories = [ "authentication" ] version = "0.10.2" authors = ["Marcus Griep "] edition = "2018" readme = "../README.md" license = "MIT OR Apache-2.0" repository = "https://github.com/neoeinstein/aliri" [features] ec = [ "aliri/ec" ] rsa = [ "aliri/rsa" ] hmac = [ "aliri/hmac" ] private-keys = [ "aliri/private-keys" ] rustls-tls = [ "reqwest/rustls-tls" ] default-tls = [ "reqwest/default-tls" ] default = [ "rsa", "reqwest", "tokio" ] [package.metadata.docs.rs] rustc-args = ["--cfg", "docsrs"] features = [ "rsa", "ec", "hmac", "private-keys", "reqwest" ] [dependencies] aliri = { version = "0.6.4", path = "../aliri", default-features = false } aliri_clock = { version = "0.1.0", path = "../aliri_clock" } aliri_traits = { version = "0.1.0", path = "../aliri_traits" } aliri_braid = { version = "0.4.0" } arc-swap = "1.7" compact_str = { version = "0.7.1", features = ["serde"] } reqwest = { version = "0.12", optional = true, default-features = false, features = [ "json" ] } serde = { version = "1", features = [ "derive" ] } thiserror = "1" tokio = { version = "1", features = [ "time" ], optional = true } tracing = "0.1.40" [dev-dependencies] aliri = { version = "0.6.4", path = "../aliri", features = [ "private-keys" ] } openssl = "0.10" serde_json = "1" tokio = { version = "1", features = [ "rt-multi-thread", "macros" ] } [package.metadata.workspaces] independent = true [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(never)']}