5 releases

0.1.3 Apr 1, 2024
0.1.2 Apr 1, 2024
0.1.1 Mar 27, 2024
0.1.0 Mar 26, 2024
0.0.1 Mar 15, 2024

#1154 in Parser implementations

Download history 133/week @ 2024-03-13 73/week @ 2024-03-20 406/week @ 2024-03-27 72/week @ 2024-04-03

684 downloads per month

MIT/Apache

25KB
543 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
~89K SLoC