jsonwebtoken_rustcrypto/
lib.rs

1//! Create and parses JWT (JSON Web Tokens)
2//!
3//! Documentation:  [stable](https://docs.rs/jsonwebtoken-rustcrypto/)
4// #![deny(missing_docs)]
5
6mod algorithms;
7/// Lower level functions, if you want to do something other than JWTs
8pub mod crypto;
9mod decoding;
10mod encoding;
11/// All the errors that can be encountered while encoding/decoding JWTs
12pub mod errors;
13mod header;
14mod serialization;
15mod validation;
16// JWK and JWKS types and functions
17pub mod jwk;
18
19pub use algorithms::Algorithm;
20#[allow(deprecated)]
21pub use decoding::dangerous_unsafe_decode;
22pub use decoding::{
23    dangerous_insecure_decode, dangerous_insecure_decode_with_validation, decode, decode_header,
24    DecodingKey, TokenData,
25};
26pub use encoding::{encode, EncodingKey};
27pub use header::Header;
28pub use validation::Validation;