[package] name = "rocket-grants" version = "0.1.4" description = "Authorization extension for `rocket` to protect your endpoints" readme = "README.md" keywords = ["rocket", "authz", "security", "grants", "permissions"] authors.workspace = true repository.workspace = true homepage.workspace = true categories.workspace = true license.workspace = true edition.workspace = true [lib] name = "rocket_grants" path = "src/lib.rs" [features] default = ["macro-check"] macro-check = ["protect-endpoints-proc-macro"] [dependencies] futures-core = "0.3" rocket = "0.5.0" protect-endpoints-proc-macro = { workspace = true, features = ["rocket"], optional = true } [dev-dependencies] rocket = { version = "0.5.0", features = ["json"] } serde = { version = "1.0", features = ["derive"] } serde_json = "1.0" tokio = { version = "1.34.0", features = ["rt-multi-thread"] } chrono = "0.4.19" jsonwebtoken = "9.1.0"