rns-hooks-abi 0.1.2

Shared ABI definitions for rns-hooks host and SDK
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#![no_std]

pub mod context;
pub mod result;
pub mod sentinel;
pub mod stats;
pub mod wire;

/// ABI version number. Bump this when the ABI surface changes (context struct
/// layouts, host function signatures, action wire encoding, verdict constants).
///
/// Compiled WASM modules export `__rns_abi_version() -> i32` returning this
/// value. The host loader rejects modules whose version does not match.
pub const ABI_VERSION: i32 = 1;