6 releases

0.1.4 Apr 30, 2024
0.1.3 Apr 1, 2024
0.1.1 Mar 27, 2024
0.0.1 Mar 15, 2024

#1407 in Parser implementations

Download history 133/week @ 2024-03-13 73/week @ 2024-03-20 406/week @ 2024-03-27 73/week @ 2024-04-03 186/week @ 2024-04-24 37/week @ 2024-05-01

223 downloads per month

MIT/Apache

26KB
574 lines

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

~4MB
~90K SLoC