2 unstable releases

0.3.0 Oct 1, 2024
0.2.0 Jan 29, 2024

#14 in #simplicity

31 downloads per month
Used in elements-miniscript

CC0 and GPL-3.0-only

4MB
61K SLoC

Rust 39K SLoC // 0.0% comments C 18K SLoC // 0.1% comments Bitbake 4.5K SLoC // 0.0% comments Shell 75 SLoC // 0.1% comments

Build

rust-simplicity

Under development....

Minimum Supported Rust Version

The MSRV of this crate is 1.63.0.

Updating jets code

Some of the jet files in the library are auto-generated from Haskell code. These can be updated update_jets.sh. This requires the user has cabal and other necessary things that are required to build simplicity haskell. Instructions for those can be found in the simplicity repository.

This script also checks that the internal vendored version of simplicity has the same git hash as of the version from which we are auto-generating the code. If this is not the case, the script will fail. This is because we only vendor minimal required C simplicity code and not the entire simplicity repo.

Dependencies

~22MB
~273K SLoC