# 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 = "protect-salvo" version = "0.1.1" authors = ["DDtKey "] description = "Authorization extension `salvo` to protect your endpoints" homepage = "https://github.com/DDtKey/protect-endpoints" readme = "README.md" keywords = [ "salvo", "auth", "security", "grants", "permissions", ] categories = ["authentication"] license = "MIT OR Apache-2.0" repository = "https://github.com/DDtKey/protect-endpoints" [lib] name = "protect_salvo" path = "src/lib.rs" [dependencies.protect-endpoints-core] version = "0.1.2" features = ["tower"] [dependencies.protect-endpoints-proc-macro] version = "0.3.2" features = ["salvo"] optional = true [dependencies.salvo] version = "0.67.2" features = ["tower-compat"] default-features = false [dependencies.tower] version = "0.4.13" default-features = false [dev-dependencies.chrono] version = "0.4.35" [dev-dependencies.http-body-util] version = "0.1.0" [dev-dependencies.jsonwebtoken] version = "9.1.0" [dev-dependencies.parse-display] version = "0.9.0" [dev-dependencies.salvo] version = "0.67.2" features = ["test"] default-features = false [dev-dependencies.serde] version = "1.0" features = ["derive"] [dev-dependencies.serde_json] version = "1.0.64" [dev-dependencies.tokio] version = "1.34.0" features = ["rt-multi-thread"] [features] default = ["macro-check"] macro-check = ["protect-endpoints-proc-macro"]