16 releases

new 0.2.3 Mar 20, 2025
0.2.2 Oct 11, 2024
0.2.1 Sep 5, 2024
0.1.11 Jul 10, 2024
0.1.1 Mar 27, 2024

#15 in #memory-safe

Download history 14/week @ 2024-11-29 43/week @ 2024-12-06 10/week @ 2024-12-13 1/week @ 2024-12-20 2/week @ 2024-12-27 5/week @ 2025-01-03 1/week @ 2025-02-07

736 downloads per month

MIT/Apache

77KB
1.5K SLoC

Sleipnir

Build Status Docs Crates.io

Name?

The name is a reference to Sleipnir, in keeping with other Norse names for our memory safe stuff.

releasing

copied from fontations

We use cargo-release to help guide the release process. It can be installed with cargo install cargo-release. You may need to install pkg-config via your package manager for this to work.

Releasing involves the following steps:

  1. Determine which crates may need to be published: run cargo release changes to see which crates have been modified since their last release.

  2. Determine the new versions for the crates.

    • Before 1.0, breaking changes bump the minor version number, and non-breaking changes modify the patch number.
  3. Update manifest versions and release. ./resources/scripts/bump-version.sh orchestrates this process.

    • cargo release does all the heavy lifting
    # To see usage
    ./resources/scripts/bump-version.sh
    # To do the thing
    ./resources/scripts/bump-version.sh  sleipnir patch
    
  4. Commit these changes to a new branch, get it approved and merged, and switch to the up-to-date main.

  5. Publish the crates. ./resources/scripts/release.sh orchestrates the process.

    • You will be prompted to review changes along the way
    # To see usage
    ./resources/scripts/release.sh
    # To do the thing
    ./resources/scripts/release.sh sleipnir
    

Dependencies

~6.5MB
~145K SLoC