small_jwt 1.1.0

Simple and small JWT libary
Documentation
//! Small JWT library without any validation (except signature).
//!
//! Pros:
//!  - Simple, only 2 functions, 1 [`Header`] struct and 1 [`Error`] enum;
//!  - All payload validation is on your side;
//!  - Error enum holds dependency errors.
//!
//! Cons:
//!  - this library IS A SMALL SUBSET that I need, not even a third of RFC implementation.
//!  - I'm lazy and there are only simple tests;
//!  - Error enum holds dependency errors.

mod utils;

mod error;
pub use error::{Error, Result};

mod header;
pub use header::Header;

mod encode;
pub use encode::encode;

mod decode;
pub use decode::decode;