pasetors

Crates.iopasetors
lib.rspasetors
version0.7.0
sourcesrc
created_at2020-10-12 16:12:51.351015
updated_at2024-08-28 11:48:05.692222
descriptionPASETO: Platform-Agnostic Security Tokens (in Rust)
homepage
repositoryhttps://github.com/brycx/pasetors
max_upload_size
id298809
size818,282
Johannes (brycx)

documentation

https://docs.rs/pasetors

README

Tests Documentation Crates.io Safety Dance MSRV codecov

PASETOrs

"Paseto is everything you love about JOSE (JWT, JWE, JWS) without any of the many design deficits that plague the JOSE standards."

PASETO (Platform-Agnostic SEcurity TOkens) are secure stateless tokens. Read more here and at PASETO.io.

This library includes:

  • Pure-Rust implementation of the Version 4, 3† and 2 protocol
  • PASERK support (limited amount of PASERK-types) with optional serde support as well
  • #![no_std] (with default-features disabled) and #![forbid(unsafe_code)]
  • WASM-friendly (wasm32-unknown-unknown using #![no_std])
  • Fuzzing targets
  • Test vectors
  • Usage examples

Only the public variant (v3.public) of version 3 is currently supported.

Usage

See usage examples here.

Security

This library has not undergone any third-party security audit. Usage is at own risk.

Minimum Supported Rust Version

Rust 1.80.0 or later is supported however, the majority of testing happens with latest stable Rust.

MSRV may be changed at any point and will not be considered a SemVer breaking change.

Changelog

Please refer to the CHANGELOG.md list.

License

pasetors is licensed under the MIT license. See the LICENSE file for more information.

Commit count: 122

cargo fmt