Rustwt
================================================
[![Build Status](https://travis-ci.org/Richterrettich/rustwt.svg?branch=master)](https://travis-ci.org/Richterrettich/rustwt)
[![Documentation Status](https://docs.rs/rustwt/badge.svg)](https://docs.rs/rustwt/)
This is a hard fork of https://github.com/GildedHonour/frank_jwt
Implementation of [JSON Web Tokens](http://jwt.io) in Rust.
## Links
- [Documentation](https://docs.rs/rustwt/)
- [Crates.io page](https://crates.io/crates/rustwt)
## Algorithms and features supported
- [x] HS256
- [x] HS384
- [x] HS512
- [x] RS256
- [x] RS384
- [x] RS512
- [x] ES256
- [x] ES384
- [x] ES512
- [x] Sign
- [x] Verify
- [x] iss (issuer) check
- [x] sub (subject) check
- [x] aud (audience) check
- [x] exp (expiration time) check
- [x] nbf (not before time) check
- [x] iat (issued at) check
- [x] jti (JWT ID) check
## Usage
Put this into your `Cargo.toml`:
```toml
[dependencies]
rustwt = "1.0.1"
```
## License
Apache 2.0
## Tests
```shell
cargo test
```