# 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 = "rocket-grants" version = "0.1.4" authors = ["DDtKey "] description = "Authorization extension for `rocket` to protect your endpoints" homepage = "https://github.com/DDtKey/protect-endpoints" readme = "README.md" keywords = [ "rocket", "authz", "security", "grants", "permissions", ] categories = ["authentication"] license = "MIT OR Apache-2.0" repository = "https://github.com/DDtKey/protect-endpoints" [lib] name = "rocket_grants" path = "src/lib.rs" [dependencies.futures-core] version = "0.3" [dependencies.protect-endpoints-proc-macro] version = "0.3.0" features = ["rocket"] optional = true [dependencies.rocket] version = "0.5.0" [dev-dependencies.chrono] version = "0.4.19" [dev-dependencies.jsonwebtoken] version = "9.1.0" [dev-dependencies.rocket] version = "0.5.0" features = ["json"] [dev-dependencies.serde] version = "1.0" features = ["derive"] [dev-dependencies.serde_json] version = "1.0" [dev-dependencies.tokio] version = "1.34.0" features = ["rt-multi-thread"] [features] default = ["macro-check"] macro-check = ["protect-endpoints-proc-macro"]