2 stable releases

Uses old Rust 2015

1.0.1 Sep 2, 2017
1.0.0 Aug 31, 2017

#125 in #jwt

26 downloads per month

Apache-2.0

47KB
942 lines

Rustwt

Build Status Documentation Status

This is a hard fork of https://github.com/GildedHonour/frank_jwt

Implementation of JSON Web Tokens in Rust.

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–5MB
~105K SLoC