NOTE: Preview version. Not ready for production use.
To install the latest stable version from crates.io, run:
cargo install bc-envelope-cli
To install a specific version:
cargo install bc-envelope-cli --version 0.13.1
When building from source, we strongly recommend building from a tagged release rather than the tip of the main branch, which may contain unstable code or breaking changes:
# Clone the repository
git clone https://github.com/BlockchainCommons/bc-envelope-cli-rust.git
cd bc-envelope-cli-rust
# List available tags
git tag -l
# Checkout the most recent tag
git checkout $(git describe --tags --abbrev=0)
# Install the tool
cargo install --path .
If you must build from the main branch, be aware that it may have dependency mismatches or other issues:
# Build without installing (debug build)
cargo build
# Test before installing
cargo test
# If all tests pass, you can install
cargo install --path .
Make sure your ~/.cargo/bin
directory is in your PATH
.
If you encounter build problems:
- Try debug build first:
cargo build
instead ofcargo build --release
- Check dependency versions: The main branch might require specific versions of dependencies
- Verify compatible Rust version: Run
rustc --version
to check your Rust version - Build from a release tag: Tagged releases have been tested and should build properly
For serious build issues, please open an issue on the GitHub repository with details about your environment and the errors you're seeing.
envelope --help
See the docs directory for more information.
NOTE: The envelope
tool does not have the same command line syntax as the Swift envelope
tool.
- Fixed bug that would cause a crash when finding assertions that have their own assertions.
- Maintenance release.
- Maintenance release.
- Added support for XID Document Services.
- Endpoints in XID keys are now deprecated in favor of services.
- Started adding support for XID Documents.
- Anywhere in
envelope
that accepts aur:envelope
can also accept any other UR types containing envelopes, including XID documents.
- Aligned to dependencies.
- Schnorr signatures are now BIP-340 compliant.
- Fixed bug that would cause certain valid combinations of SSKR shares to be rejected.