1 unstable release

0.2.0 Jan 29, 2024

#14 in #simplicity

32 downloads per month
Used in elements-miniscript

CC0 and GPL-3.0-only

3.5MB
47K SLoC

Rust 35K SLoC // 0.0% comments C 7.5K SLoC // 0.2% comments Bitbake 4.5K SLoC Shell 63 SLoC // 0.1% comments

Build

rust-simplicity

Under development....

Minimum Supported Rust Version

The MSRV of this crate is 1.58.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

~21MB
~257K SLoC