6 releases
| 0.1.0 | Nov 20, 2024 |
|---|---|
| 0.0.5 | Nov 20, 2024 |
| 0.0.4 | Oct 25, 2024 |
| 0.0.3 | Sep 4, 2024 |
| 0.0.1 | Feb 22, 2024 |
#27 in #system-interface
479 downloads per month
Used in kona-common-proc
27KB
452 lines
kona-common
This library offers utilities for developing verifiable client executables that may run on top of Fault Proof Virtual
Machine targets.
- The
alloc_heapmacro allows for statically allocating a heap of a certain size, and allclientprograms will need to run it if they require heap allocation. Thealloccrate can be used for programs targeting any FPVM, but is optional. - The
iomodule provides a high-level safe interface over theread,write, andexitsyscalls on all available FPVM targets. While the FPVMs support a larger set of Linux syscalls, this crate looks to support the bare-minimum required forclientprograms to communicate back and forth with the host and exit properly. If a consumer of the library would like to extend the functionality of theClientIO, an extension trait can be made for theClientIOtype in theiomodule.
Dependencies
~240–650KB
~15K SLoC