crates.io  travis  license

waPC Guest SDK

The waPC Guest SDK is used by Rust developers building workloads for the wasm32-unknown-unknown target that will conform to the waPC (WebAssembly Procedure Calls) specification.

This crate is used by waSCC as a foundation for its secure, dynamic binding of cloud capabilities on top of the waPC spec.

Example

```rust extern crate wapc_guest as guest;

use guest::prelude::*;

[no_mangle]

pub extern "C" fn wapcinit() { registerfunction("sample:Guest!Hello", hello_world); }

fn helloworld(msg: &[u8]) -> CallResult { let res = hostcall("myBinding", "sample:Host", "Call", b"hello")?; Ok(vec![]) } ```