# 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" name = "salvo-jwt-auth" version = "0.68.5" authors = ["Chrislearn Young "] description = """ Jwt auth support for salvo web server framework. """ homepage = "https://salvo.rs" readme = "README.md" keywords = [ "http", "async", "web", "framework", "server", ] categories = [ "web-programming::http-server", "web-programming::websocket", "network-programming", "asynchronous", ] license = "MIT OR Apache-2.0" repository = "https://github.com/salvo-rs/salvo" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [dependencies.base64] version = "0.22" [dependencies.bytes] version = "1" optional = true [dependencies.http-body-util] version = "0.1" optional = true [dependencies.hyper-rustls] version = "0.27" features = [ "native-tokio", "http1", "tls12", "logging", ] optional = true default-features = false [dependencies.hyper-util] version = "0.1.2" features = [ "client-legacy", "http1", "http2", "tokio", ] optional = true default-features = true [dependencies.jsonwebtoken] version = "9.1" [dependencies.salvo_core] version = "0.68.5" features = ["cookie"] default-features = false [dependencies.serde] version = "1" features = ["derive"] [dependencies.serde_json] version = "1" [dependencies.thiserror] version = "1" [dependencies.tokio] version = "1" [dependencies.tracing] version = "0.1" [dev-dependencies.anyhow] version = "1" [dev-dependencies.time] version = "0.3" [features] default = [] full = [ "oidc", "ring", ] oidc = [ "dep:bytes", "hyper-rustls", "dep:hyper-util", "dep:http-body-util", "ring", ] ring = ["hyper-rustls?/ring"] [lints.clippy] future_not_send = "warn" unwrap_used = "warn" [lints.rust] missing_docs = "warn" unreachable_pub = "deny" unsafe_code = "forbid" [lints.rustdoc] broken_intra_doc_links = "warn"