[package]
edition = "2021"
name = "postrust-auth"
version = "0.4.0"
authors = ["Bhanu Pratap Chaudhary"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "JWT authentication and role resolution for Postrust"
homepage = "https://postrust.org/"
readme = "README.md"
keywords = [
"jwt",
"authentication",
"postgres",
"rls",
"auth",
]
license = "MIT"
repository = "https://github.com/postrust/postrust"
[lib]
name = "postrust_auth"
path = "src/lib.rs"
[dependencies.async-trait]
version = "0.1"
[dependencies.base64]
version = "0.22"
[dependencies.chrono]
version = "0.4"
features = ["serde"]
[dependencies.jsonwebtoken]
version = "9.3"
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.serde_json]
version = "1.0"
features = ["arbitrary_precision"]
[dependencies.thiserror]
version = "2.0"
[dependencies.tracing]
version = "0.1"
[dev-dependencies.pretty_assertions]
version = "1.4"
[dev-dependencies.tokio]
version = "1.43"
features = [
"full",
"test-util",
"macros",
]