Minimum Supported Rust Version: 1.58.0
*This crate uses "2018" edition
This library is a fork of rust-miniscript for elements.
This library supports
compiler
flag)bitcoin::PublicKey
elements::TxIn
with appropriate dataMore information can be found in the documentation
or in the examples/
directory
The cargo feature std
is enabled by default. At least one of the features std
or no-std
or both must be enabled.
Enabling the no-std
feature does not disable std
. To disable the std
feature you must disable default features. The no-std
feature only enables additional features required for this crate to be usable without std
. Both can be enabled without conflict.
To run the benchmarks run RUSTFLAGS=--cfg=miniscript_bench cargo +nightly bench --all-features
.
This library should always compile with any combination of features on Rust 1.58.0.
Some dependencies do not play nicely with our MSRV, if you are running the tests you may need to pin as follows:
cargo update -p byteorder --precise 1.4.3
Note this list could sometimes be not exhaustive because not enforced by CI.
If you have any issues check the script executed in CI: contrib/test.sh
Contributions are generally welcome. If you intend to make larger changes please discuss them in an issue before PRing them to avoid duplicate work and architectural mismatches. If you have any questions or ideas you want to discuss please join us in ##miniscript on Libera.
See CHANGELOG.md.
The code in this project is licensed under the Creative Commons CC0 1.0 Universal license. We use the SPDX license list and SPDX IDs.