6 releases (breaking)

0.5.0 Apr 12, 2020
0.4.0 Jan 2, 2016
0.3.0 Aug 18, 2015
0.2.0 Jun 4, 2015
0.1.1 May 25, 2015

#152 in Web programming

Download history 110/week @ 2020-01-25 162/week @ 2020-02-01 160/week @ 2020-02-08 146/week @ 2020-02-15 154/week @ 2020-02-22 150/week @ 2020-02-29 102/week @ 2020-03-07 136/week @ 2020-03-14 225/week @ 2020-03-21 111/week @ 2020-03-28 91/week @ 2020-04-04 194/week @ 2020-04-11 230/week @ 2020-04-18 114/week @ 2020-04-25 177/week @ 2020-05-02 125/week @ 2020-05-09

608 downloads per month
Used in 2 crates

MIT license

14KB
358 lines

JWT

crates.io

A JSON Web Token library.

Documentation

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.

Dependencies

~1.4–2MB
~39K SLoC