#minecraft #applied #oc-wasm #opencomputers #energistics

no-std oc-wasm-applied-energistics

High-level APIs for Applied Energistics

4 releases (2 breaking)

0.12.1 Jun 8, 2024
0.12.0 Apr 6, 2024
0.2.0 Jan 8, 2024
0.1.0 Mar 26, 2023

#2 in #applied

Download history 1/week @ 2024-09-17 11/week @ 2024-09-24

252 downloads per month

GPL-3.0-only

200KB
3K SLoC

OC-Wasm-Applied-Energistics provides high-level APIs for accessing components provided by Applied Energistics for applications running in the OC-Wasm architecture.


lib.rs:

This crate provides high-level APIs for accessing components provided by Applied Energistics.

As a general rule, APIs in this crate accept an Invoker and a Buffer scratch buffer, the latter being used for encoding parameters and decoding return values. This buffer can be reused between API calls to reduce heap allocations. In some cases the return value of an API may borrow from the scratch buffer.

Features

  • The std feature enables integration with the Rust standard library that can only be done outside no_std mode.

Important

You must depend on oc-wasm-futures with the proper-waker feature in your own application if your chosen executor requires the proper-waker feature.

Dependencies

~2MB
~50K SLoC