#programs #parser #traits #architecture #entropy #type #wit-bindgen

no-std entropy-programs-core

Core traits and types for building programs on the Entropy network

3 releases (breaking)

0.10.0 Apr 26, 2024
0.9.0 Apr 24, 2024
0.0.0 Jan 5, 2024

#27 in #wit-bindgen

Download history 83/week @ 2024-07-01 178/week @ 2024-07-08 356/week @ 2024-07-15 153/week @ 2024-07-22 298/week @ 2024-07-29 295/week @ 2024-08-05 377/week @ 2024-08-12 335/week @ 2024-08-19 363/week @ 2024-08-26 63/week @ 2024-09-02 322/week @ 2024-09-09 424/week @ 2024-09-16 522/week @ 2024-09-23 536/week @ 2024-09-30 173/week @ 2024-10-07 135/week @ 2024-10-14

1,366 downloads per month
Used in 3 crates (via entropy-programs-runtime)

AGPL-3.0-or-later

9KB
54 lines

entropy-programs-core

This contains core traits and types for writing modular programs code, including programs, runtimes, architectures (for writing architecture-agnostic programs and dynamic parsing) and signature-request interfaces.

.wit

User applications can generate and use the required WITs in two ways:

  1. cargo component - prefered, since this doesn't require the user to build the wasm-component manually;
  2. reexported from entropy-programs-core via wit-bindgen - this is a fallback for when cargo component is not available.

lib.rs:

This supports core traits and types for supporting new architectures and programs, and interfacing with them.

Dependencies

~3.5–5MB
~117K SLoC