Skip to content

Publishing

Simon Warta edited this page Dec 6, 2022 · 10 revisions
  1. Update Cargo.toml and CHANGELOG.md to the new version.
  2. Update lockfile: cargo check
  3. git commit -m "Set version: XXXXXX"
  4. Login to crates.io with your Github username. If you are a new user, you'll need to login and go to https://crates.io/me to verify your email address, and generate a new token. You can then cargo login <token>.
  5. cargo publish. If it fails, you need to verify your email first, and/or be invited as an owner of the project.
  6. git tag vXXXXXX (mind the leading v)
  7. git push && git push --tags
Clone this wiki locally