Compact JWT implementation in Rust

Build Status License: Apache-2.0 rust 1.51.0+ required no_std supported

Documentation: Docs.rs crate docs (master)

Minimalistic JSON web token (JWT) implementation with focus on type safety and secure cryptographic primitives.

Usage

Add this to your Crate.toml:

toml [dependencies] jwt-compact = "0.5.0"

See the crate docs for the examples of usage.

Features

Missing features

Supported Rust Versions

The base crate is compatible with Rust 1.51+. The k256 cryptographic backend requires Rust 1.56+, while other backends are compatible with 1.51+.

Alternatives

[jsonwebtoken], [frank_jwt] or [biscuit] may be viable alternatives depending on the use case (e.g., none of them seems to implement EdDSA or ES256K algorithms).

See also

License

Licensed under the Apache-2.0 license.