[package]
edition = "2024"
name = "jwt-service"
version = "0.1.1"
authors = ["root@ltpp.vip"]
build = false
exclude = [
"target",
"Cargo.lock",
"sh",
".github",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A high-performance async library for JWT (JSON Web Token) authentication and authorization. Supports token generation, validation, and custom claims with optimized memory usage, ideal for HTTP clients/servers and web applications."
readme = "README.md"
keywords = [
"jwt",
"authentication",
"token",
"authorization",
"json-web-token",
]
categories = [
"network-programming",
"web-programming",
]
license = "MIT"
repository = "https://github.com/crates-dev/jwt-service.git"
[lib]
name = "jwt_service"
path = "src/lib.rs"
[dependencies.jsonwebtoken]
version = "10.2.0"
features = ["rust_crypto"]
[dependencies.serde]
version = "1.0.228"
features = ["derive"]
[dependencies.serde_json]
version = "1.0.149"
[profile.dev]
opt-level = 3
lto = true
codegen-units = 1
debug = 0
panic = "unwind"
incremental = false
strip = "debuginfo"
[profile.release]
opt-level = 3
lto = true
codegen-units = 1
debug = 0
panic = "unwind"
incremental = false
strip = "debuginfo"