#json #jwt #json-object #jose #jws #jwe

biscuit

A library to work with Javascript Object Signing and Encryption(JOSE), including JSON Web Tokens (JWT), JSON Web Signature (JWS) and JSON Web Encryption (JWE)

21 releases

0.7.0 Nov 10, 2023
0.6.0 Mar 29, 2023
0.6.0-beta1 Feb 24, 2021
0.5.0 Nov 17, 2020
0.0.1 Mar 17, 2017

#32 in Authentication

Download history 20526/week @ 2024-08-12 23465/week @ 2024-08-19 27776/week @ 2024-08-26 25084/week @ 2024-09-02 25522/week @ 2024-09-09 24321/week @ 2024-09-16 29973/week @ 2024-09-23 24306/week @ 2024-09-30 32134/week @ 2024-10-07 31536/week @ 2024-10-14 35991/week @ 2024-10-21 28947/week @ 2024-10-28 37712/week @ 2024-11-04 37370/week @ 2024-11-11 35917/week @ 2024-11-18 21430/week @ 2024-11-25

132,936 downloads per month
Used in 30 crates (14 directly)

MIT license

335KB
6.5K SLoC

biscuit

Build Status Crates.io Repository Documentation dependency status

A library to work with Javascript Object Signing and Encryption(JOSE), including JSON Web Tokens (JWT), JSON Web Signature (JWS) and JSON Web Encryption (JWE)

This was based off Keats/rust-jwt.

Installation

Add the following to Cargo.toml:

biscuit = "0.7.0"

To use the latest master branch, for example:

biscuit = { git = "https://github.com/lawliet89/biscuit", branch = "master" }

Supported Features

The crate, does not support all, and probably will never support all of the features described in the various RFCs, including some algorithms and verification.

See the documentation for more information.

Dependencies

~8–17MB
~314K SLoC