{"id":28455528,"url":"https://github.com/elementsproject/elements-miniscript","last_synced_at":"2025-10-29T09:42:12.675Z","repository":{"id":37939870,"uuid":"316009230","full_name":"ElementsProject/elements-miniscript","owner":"ElementsProject","description":null,"archived":false,"fork":false,"pushed_at":"2024-12-07T00:25:33.000Z","size":18110,"stargazers_count":14,"open_issues_count":8,"forks_count":14,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-06-21T00:39:43.123Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"cc0-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ElementsProject.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2020-11-25T17:27:13.000Z","updated_at":"2025-02-12T01:11:11.000Z","dependencies_parsed_at":"2023-12-20T16:13:20.606Z","dependency_job_id":null,"html_url":"https://github.com/ElementsProject/elements-miniscript","commit_stats":{"total_commits":1051,"total_committers":37,"mean_commits":"28.405405405405407","dds":0.5423406279733587,"last_synced_commit":"955f3804851498c3090231ff12c6beded82c8b80"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/ElementsProject/elements-miniscript","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ElementsProject%2Felements-miniscript","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ElementsProject%2Felements-miniscript/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ElementsProject%2Felements-miniscript/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ElementsProject%2Felements-miniscript/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ElementsProject","download_url":"https://codeload.github.com/ElementsProject/elements-miniscript/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ElementsProject%2Felements-miniscript/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262177682,"owners_count":23270918,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-06-06T22:09:37.372Z","updated_at":"2025-10-29T09:42:07.626Z","avatar_url":"https://github.com/ElementsProject.png","language":"Rust","readme":"![Build](https://github.com/ElementsProject/elements-miniscript/workflows/Continuous%20integration/badge.svg)\n\n**Minimum Supported Rust Version:** 1.63.0\n\n*This crate uses \"2018\" edition\n\n# Elements Miniscript\nThis library is a fork of [rust-miniscript](https://github.com/rust-bitcoin/rust-miniscript) for elements.\n\n\n## High-Level Features\n\nThis library supports\n\n* [Output descriptors](https://github.com/bitcoin/bitcoin/blob/master/doc/descriptors.md)\nincluding embedded Miniscripts\n* Parsing and serializing descriptors to a human-readable string format\n* Compilation of abstract spending policies to Miniscript (enabled by the\n`compiler` flag)\n* Semantic analysis of Miniscripts and spending policies, with user-defined\npublic key types\n* Encoding and decoding Miniscript as Bitcoin Script, given key types that\nare convertible to `bitcoin::PublicKey`\n* Determining satisfiability, and optimal witnesses, for a given descriptor;\ncompleting an unsigned `elements::TxIn` with appropriate data\n* Determining the specific keys, hash preimages and timelocks used to spend\ncoins in a given Bitcoin transaction\n\nMore information can be found in [the documentation](https://docs.rs/elements-miniscript)\nor in [the `examples/` directory](https://github.com/ElementsProject/elements-miniscript/tree/master/examples)\n\n## Building\n\nThe cargo feature `std` is enabled by default. At least one of the features `std` or `no-std` or both must be enabled.\n\nEnabling 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.\n\n## Benchmarking\n\nTo run the benchmarks run `RUSTFLAGS=--cfg=miniscript_bench cargo +nightly bench --all-features`.\n\n## Minimum Supported Rust Version (MSRV)\nThis library should always compile with any combination of features on **Rust 1.63.0**.\n\n\nSome dependencies do not play nicely with our MSRV, if you are running the tests\nyou may need to pin as follows:\n\n```\ncargo update -p byteorder --precise 1.4.3\n```\n\nNote this list could sometimes be not exhaustive because not enforced by CI. \nIf you have any issues check the script executed in CI: `contrib/test.sh`\n\n## Contributing\nContributions are generally welcome. If you intend to make larger changes please\ndiscuss them in an issue before PRing them to avoid duplicate work and\narchitectural mismatches. If you have any questions or ideas you want to discuss\nplease join us in\n[##miniscript](https://web.libera.chat/?channels=##miniscript) on Libera.\n\n\n## Release Notes\n\nSee [CHANGELOG.md](CHANGELOG.md).\n\n\n## Licensing\n\nThe code in this project is licensed under the [Creative Commons CC0 1.0\nUniversal license](LICENSE). We use the [SPDX license list](https://spdx.org/licenses/) and [SPDX\nIDs](https://spdx.dev/ids/).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felementsproject%2Felements-miniscript","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Felementsproject%2Felements-miniscript","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felementsproject%2Felements-miniscript/lists"}