# 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 = "2021" rust-version = "1.73.0" name = "okta-jwt-verifier" version = "0.9.0" authors = ["Christian Haynes <06chaynes@gmail.com>"] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "A helper library for working with JWT's for Okta in Rust" readme = "README.md" keywords = [ "okta", "jwt", ] categories = ["web-programming"] license = "MIT OR Apache-2.0" repository = "https://github.com/06chaynes/okta-jwt-verifier.git" [lib] name = "okta_jwt_verifier" path = "src/lib.rs" [[example]] name = "tide_middleware_basic" path = "examples/tide_middleware_basic.rs" [dependencies.anyhow] version = "1.0.72" [dependencies.http-cache-reqwest] version = "0.14.0" optional = true [dependencies.http-cache-surf] version = "0.13.0" optional = true [dependencies.jsonwebtoken] version = "9.3.0" [dependencies.reqwest] version = "0.12.8" features = ["json"] optional = true [dependencies.reqwest-middleware] version = "0.3.3" optional = true [dependencies.serde] version = "1.0.178" features = ["derive"] [dependencies.serde_json] version = "1.0.104" [dependencies.surf] version = "2.3.2" optional = true [dev-dependencies.async-std] version = "1.12.0" features = ["attributes"] [dev-dependencies.async-trait] version = "0.1.72" [dev-dependencies.jwt-simple] version = "0.12.10" features = ["pure-rust"] default-features = false [dev-dependencies.mockito] version = "1.5.0" [dev-dependencies.tide] version = "0.16.0" [dev-dependencies.tide-http-auth] version = "0.5.0" [dev-dependencies.tokio] version = "1.40.0" features = [ "macros", "rt", "rt-multi-thread", ] [features] cache-reqwest = ["http-cache-reqwest"] cache-surf = ["http-cache-surf"] client-reqwest = [ "reqwest", "reqwest-middleware", ] client-surf = ["surf"] default = ["client-reqwest"]