#format #md #firefox

origin-trial-token

An implementation of the Chrome Origin Trial token format

2 releases

0.1.1 May 24, 2022
0.1.0 Feb 17, 2022

#45 in #firefox

Download history 213/week @ 2024-12-08 271/week @ 2024-12-15 71/week @ 2024-12-22 83/week @ 2024-12-29 201/week @ 2025-01-05 246/week @ 2025-01-12 223/week @ 2025-01-19 226/week @ 2025-01-26 271/week @ 2025-02-02 262/week @ 2025-02-09 264/week @ 2025-02-16 317/week @ 2025-02-23 256/week @ 2025-03-02 383/week @ 2025-03-09 351/week @ 2025-03-16 280/week @ 2025-03-23

1,288 downloads per month

MPL-2.0 license

16KB
280 lines

Implements a simple processor for https://github.com/chromium/chromium/blob/d7da0240cae77824d1eda25745c4022757499131/third_party/blink/public/common/origin_trials/origin_trials_token_structure.md

This crate intentionally leaves the cryptography to the caller. See the tools/ directory for example usages.

Dependencies

~0.6–1.5MB
~32K SLoC