cuttlefish-sdk 0.0.1

Guest-side library for writing cuttlefish proc-blocks
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
//! Guest-side library for writing cuttlefish proc-blocks.
//!
//! Stub: the `Block` trait and the wasm export macro land here next.
//!
//! A block is a state machine that the host drives — it returns commands and is
//! stepped, rather than calling the host and blocking. This crate exists to hide
//! that inversion behind an ordinary-looking Rust trait, so block authors do not
//! hand-write state transitions. See [`cuttlefish_abi`] for why control is
//! inverted in the first place.

#![forbid(unsafe_code)]
#![warn(missing_docs)]