2 stable releases
Uses old Rust 2015
1.0.1 | Sep 2, 2017 |
---|---|
1.0.0 | Aug 31, 2017 |
#161 in #jwt
47KB
942 lines
Rustwt
This is a hard fork of https://github.com/GildedHonour/frank_jwt
Implementation of JSON Web Tokens in Rust.
Links
Algorithms and features supported
- HS256
- HS384
- HS512
- RS256
- RS384
- RS512
- ES256
- ES384
- ES512
- Sign
- Verify
- iss (issuer) check
- sub (subject) check
- aud (audience) check
- exp (expiration time) check
- nbf (not before time) check
- iat (issued at) check
- jti (JWT ID) check
Usage
Put this into your Cargo.toml
:
[dependencies]
rustwt = "1.0.1"
License
Apache 2.0
Tests
cargo test
Dependencies
~4–5.5MB
~111K SLoC