Adding miniscript library as a dependency

Run this command in a terminal, in your project's directory:

cargo add miniscript

To add it manually, edit your project's Cargo.toml file and add to the [dependencies] section:

miniscript = "13.0.0"

The miniscript library will be automatically available globally. Read the miniscript library documentation.

Back to the crate overview.