rattery 0.2.0

rattery: a sandboxed terminal host that runs ratatui apps delivered over HTTP, as a CLI and as a library
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//! Host-side bindings for the `rattery:tui/app` world.

wasmtime::component::bindgen!({
    path: "wit",
    world: "app",
    with: {
        "rattery:tui/websocket.socket": crate::websocket::WsSocket,
    },
    imports: { default: async | trappable },
    exports: { default: async | store },
    additional_derives: [Clone, PartialEq, Eq],
});

pub use self::rattery::tui::{terminal, websocket};