jwt-service

Crates.iojwt-service
lib.rsjwt-service
version0.1.1
created_at2026-01-24 10:10:43.031253+00
updated_at2026-01-24 10:14:34.743991+00
descriptionA 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.
homepage
repositoryhttps://github.com/crates-dev/jwt-service.git
max_upload_size
id2066495
size63,179
尤雨东 (eastspire)

documentation

README

jwt-service

Official Documentation

Api Docs

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.

Features

  • Token generation with standard and custom claims
  • Token validation and verification
  • Support for custom extra claims via HashMap
  • Configurable expiration and issuer settings
  • Full serialization/deserialization support with Serde
  • Error handling with detailed validation errors

Installation

To use this crate, you can run cmd:

cargo add jwt-service

License

This project is licensed under the MIT License. See the LICENSE file for details.

Contributing

Contributions are welcome! Please open an issue or submit a pull request.

Contact

For any inquiries, please reach out to the author at root@ltpp.vip.

Commit count: 0

cargo fmt