Frank JWT

Implementation of JSON Web Tokens in Rust. It supports HS and RS256, 384 and 512 signature algorithms.
Usage
Put this in your Cargo.toml:
[]
= "2.2.1"
And this in your crate root:
extern crate frank_jwt;
use ;
Example
//HS256
let mut payload = new;
payload.insert;
payload.insert;
let header = new;
let secret = "secret123";
let jwt = encode;
//RS256
use env;
let mut payload = new;
payload.insert;
payload.insert;
let header = new;
let mut path = current_dir.unwrap;
path.push;
path.push;
let key_path = path.to_str.unwrap.to_string;
let jwt = encode;
License
Apache 2.0
Tests
cargo test
I'm available for hire
I'm a freelance developer and looking forward to new challenges.