11 releases
0.9.6 | Nov 1, 2024 |
---|---|
0.9.5 | Nov 1, 2024 |
0.9.4 | Oct 22, 2024 |
0.9.2 | Sep 21, 2024 |
0.0.0-reserved | Jan 17, 2024 |
#988 in Magic Beans
492 downloads per month
255KB
5.5K
SLoC
kinode_process_lib
Library of functions for more ergonomic Kinode Rust process development. Documentation can be found here. See the Kinode Book for a guide on how to use this library to write Kinode apps in Rust.
The major version of kinode_process_lib
will always match the major version of Kinode OS.
Since the current major version of both is 0, breaking changes can occur on minor releases.
Once the major version reaches 1, breaking changes will only occur between major versions.
As is, developers may have to update their version of process_lib
as they update Kinode OS.
lib.rs
:
Kinode process standard library for Rust compiled to Wasm
Must be used in context of bindings generated by kinode.wit
.
This library provides a set of functions for interacting with the kinode 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
~23–33MB
~622K SLoC