69 releases (41 breaking)

new 0.48.0 Feb 11, 2025
0.44.1 Jan 7, 2025
0.44.0 Dec 9, 2024
0.43.0 Oct 29, 2024
0.7.2 Nov 23, 2022

#107 in Cryptography

Download history 182/week @ 2024-10-21 302/week @ 2024-10-28 133/week @ 2024-11-04 219/week @ 2024-11-11 298/week @ 2024-11-18 153/week @ 2024-11-25 246/week @ 2024-12-02 555/week @ 2024-12-09 131/week @ 2024-12-16 22/week @ 2024-12-23 42/week @ 2024-12-30 276/week @ 2025-01-06 391/week @ 2025-01-13 208/week @ 2025-01-20 169/week @ 2025-01-27 334/week @ 2025-02-03

1,114 downloads per month
Used in 11 crates (7 directly)

GPL-2.0 license

765KB
16K SLoC

twenty-first

GitHub CI crates.io Coverage Status

A collection of cryptography primitives written in Rust.

Content of this library

This library contains primarily the following cryptographic primitives:

Release protocol

While twenty-first's version is 0.x.y, releasing a new version:

  1. Is the release backwards-compatible? Then the new version is 0.x.y+1. Otherwise the new version is 0.x+1.0.
  2. Checkout the last commit on Mjolnir, and run make bench-publish. Save the benchmark's result and verify that there is no performance degradation.
  3. Create a commit that increases version = "0.x.y" in twenty-first/Cargo.toml. The commit message should give a one-line summary of each release change. Include the benchmark result at the bottom.
  4. Have a v0.x.y git tag on this commit created. (git tag v0.x.y [sha], git push upstream --tags)
  5. Have this commit cargo published on crates.io and in GitHub tags.

If you do not have the privilege to create git tags or run cargo publish, submit a PR and the merger will take care of these.

Dependencies

~8MB
~129K SLoC