zcash_script
Rust bindings to the ECC's zcash_script c++ library.
Updating depend/zcash
To pull in recent changes from the upstream repo run the following:
git subtree pull -P depend/zcash <repo> <branch> --squash
For example:
git subtree pull -P depend/zcash https://github.com/str4d/zcash.git zcash-script-precompute --squash
Publishing New Releases
Releases for zcash-script are made with the help of cargo release.
Checklist:
- create a new branch batch the release commits into a PR
- update
CHANGELOG.mdto document any major changes since the last release - open a PR to merge your branch into
master - locally run
cargo release -- <level>wherelevelcan bepatch,minor, ormajor(source)
NOTE: It's important to specify the level when using cargo release because of the way it implements the substitutions. We specify a number of automatic substitutions in Cargo.toml but they will only be applied if cargo release also handles incrementing the version itself, do not increment the version by hand and then run cargo release or cargo release -- release, or it will not correctly update all version references in the codebase.