jwt-service 0.1.1

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.
Documentation
<center>

## jwt-service

[![](https://img.shields.io/crates/v/jwt-service.svg)](https://crates.io/crates/jwt-service)
[![](https://img.shields.io/crates/d/jwt-service.svg)](https://img.shields.io/crates/d/jwt-service.svg)
[![](https://docs.rs/jwt-service/badge.svg)](https://docs.rs/jwt-service)
[![](https://github.com/crates-dev/jwt-service/workflows/Rust/badge.svg)](https://github.com/crates-dev/jwt-service/actions?query=workflow:Rust)
[![](https://img.shields.io/crates/l/jwt-service.svg)](./LICENSE)

</center>

[Official Documentation](https://docs.ltpp.vip/jwt-service/)

[Api Docs](https://docs.rs/jwt-service/latest/)

> 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:

```shell
cargo add jwt-service
```

## License

This project is licensed under the MIT License. See the [LICENSE](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](mailto:root@ltpp.vip).