jwt 0.2.0

JSON Web Token library
docs.rs failed to build jwt-0.2.0
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build: jwt-0.15.0

JWT

A JSON Web Token library.

Documentation

Installation

Add this to your Cargo.toml:

[dependencies]
jwt = "0.2.0"

and this to your crate root:

extern crate jwt;

Usage

The library provides a Token type that wraps a header and claims. The header and claims can be any types that implement the Component trait, which is automatically implemented for types that implement the Sized, Encodable, and Decodable traits. See the examples.