1 stable release
new 1.0.3 | Feb 19, 2025 |
---|---|
1.0.2 |
|
#2141 in Encoding
36 downloads per month
280KB
5.5K
SLoC
hyperware_process_lib
Library of functions for more ergonomic Hyperware Rust process development.
Documentation can be found here.
See the Hyperware Book for a guide on how to use this library to write Hyperware apps in Rust.
lib.rs
:
Hyperware process standard library for Rust compiled to Wasm
Must be used in context of bindings generated by hyperware.wit
.
This library provides a set of functions for interacting with the hyperware kernel interface, which is a WIT file. The types generated by this file are available in processes via the wit_bindgen macro, if a process needs to use them directly. However, the most convenient way to do most things will be via this library.
We define wrappers over the wit bindings to make them easier to use. This library encourages the use of IPC body and metadata types serialized and deserialized to JSON, which is not optimal for performance, but useful for applications that want to maximize composability and introspectability. For blobs, we recommend bincode to serialize and deserialize to bytes.
Dependencies
~51MB
~781K SLoC