# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2018" name = "aliri_oauth2" version = "0.10.2" authors = ["Marcus Griep "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "JWT authorization based on validating OAuth2 scopes" readme = "README.md" keywords = [ "jose", "jwk", "jwt", "oauth2", "auth", ] categories = ["authentication"] license = "MIT OR Apache-2.0" repository = "https://github.com/neoeinstein/aliri" resolver = "2" [package.metadata.docs.rs] features = [ "rsa", "ec", "hmac", "private-keys", "reqwest", ] rustc-args = [ "--cfg", "docsrs", ] [package.metadata.workspaces] independent = true [lib] name = "aliri_oauth2" path = "src/lib.rs" [dependencies.aliri] version = "0.6.4" default-features = false [dependencies.aliri_braid] version = "0.4.0" [dependencies.aliri_clock] version = "0.1.0" [dependencies.aliri_traits] version = "0.1.0" [dependencies.arc-swap] version = "1.7" [dependencies.compact_str] version = "0.7.1" features = ["serde"] [dependencies.reqwest] version = "0.12" features = ["json"] optional = true default-features = false [dependencies.serde] version = "1" features = ["derive"] [dependencies.thiserror] version = "1" [dependencies.tokio] version = "1" features = ["time"] optional = true [dependencies.tracing] version = "0.1.40" [dev-dependencies.aliri] version = "0.6.4" features = ["private-keys"] [dev-dependencies.openssl] version = "0.10" [dev-dependencies.serde_json] version = "1" [dev-dependencies.tokio] version = "1" features = [ "rt-multi-thread", "macros", ] [features] default = [ "rsa", "reqwest", "tokio", ] default-tls = ["reqwest/default-tls"] ec = ["aliri/ec"] hmac = ["aliri/hmac"] private-keys = ["aliri/private-keys"] rsa = ["aliri/rsa"] rustls-tls = ["reqwest/rustls-tls"] [lints.rust.unexpected_cfgs] level = "warn" priority = 0 check-cfg = ["cfg(never)"]