Crates.io | miniscript-qtum |
lib.rs | miniscript-qtum |
version | 10.0.0-qtum |
source | src |
created_at | 2023-12-24 21:08:30.829031 |
updated_at | 2023-12-24 21:08:30.829031 |
description | Miniscript: a subset of Bitcoin Script designed for analysis |
homepage | https://github.com/rust-bitcoin/rust-miniscript/ |
repository | https://github.com/qtumproject/rust-miniscript/ |
max_upload_size | |
id | 1079892 |
size | 4,435,903 |
Minimum Supported Rust Version: 1.41.1
This is a fork of rust-miniscript with support for Qtum blockchain.
See below for the original README.
Library for handling Miniscript, which is a subset of Bitcoin Script designed to support simple and general tooling. Miniscripts represent threshold circuits of spending conditions, and can therefore be easily visualized or serialized as human-readable strings.
This library supports
compiler
flag)bitcoin::PublicKey
bitcoin::TxIn
with appropriate datano_std
support enabled by disabling the default-features
and enabling
"no-std"
. See embedded/
for an example.More 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.
This library should always compile with any combination of features (minus
no-std
) on Rust 1.41.1 or Rust 1.47 with no-std
.
Some dependencies do not play nicely with our MSRV, if you are running the tests you may need to pin as follows:
cargo update --package url --precise 2.2.2
cargo update --package form_urlencoded --precise 1.0.1
cargo update -p once_cell --precise 1.13.1
cargo update -p bzip2 --precise 0.4.2
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.