= "0.3.1"
[]
= "cargo build"
= "cargo watch -x \"test\""
= "cargo watch -x \"run\"" # Run `cargo install cargo-watch` to add Cargo Watch for this
= "cargo check && cargo fmt -- --check && cargo clippy && cargo test" # This will be run on CI as well
# Updates the version in all README examples
= "sed -i 's/version = \"%old_version\"/version = \"%new_version\"/g' README.md"
= [ "old_version", "new_version" ]
# Releases the project (maintainers only)
# We commit all staged files so we can manually bump the Cargo version
= "standard-version --sign --commit-all && git push --follow-tags %% origin main"
# Publishes the binary to crates.io
= "cargo publish %%"