Go to file
teor b59c7dd515 Sync Cargo patches from Zebra 2021-11-19 15:16:11 +10:00
.github/workflows ci 2021-04-19 00:10:52 -04:00
depend Split incremental_sinsemilla_tree_ffi out of zcash_script in zcashd 2021-11-19 15:16:11 +10:00
src Revert the orchard module path 2021-11-19 15:16:11 +10:00
.gitignore add .gitignore 2018-02-25 06:58:26 +01:00
.gitmodules Use a forked version of Zcash to build on Windows 2021-10-05 22:32:40 +00:00
CHANGELOG.md (cargo-release) version 0.1.5 2020-12-09 15:47:54 -08:00
Cargo.toml Sync Cargo patches from Zebra 2021-11-19 15:16:11 +10:00
LICENSE Initial commit 2018-02-25 06:26:24 +01:00
README.md Update error logs and README for submodules 2021-11-15 09:03:09 +10:00
build.rs Update error logs and README for submodules 2021-11-15 09:03:09 +10:00

README.md

zcash_script

Build Status Latest Version Rust Documentation

Rust bindings to the ECC's zcash_script c++ library.

Cloning and checking out depend/zcash

Clone this repository using:

git clone --recurse-submodules

Or if you've already cloned:

git submodule update --init

To pull the latest version, use:

git pull --recurse-submodules

Updating depend/zcash

If you need to change the submodule's base branch:

git config -f .gitmodules submodule.depend/zcash.branch <branch-name>

To pull in recent changes from the upstream repo:

git submodule update --remote

To use a specific commit:

cd depend/zcash
git checkout <commit-hash>

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.md to document any major changes since the last release
  • open a PR to merge your branch into master
  • locally run cargo release -- <level> where level can be patch, minor, or major (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.