[](https://crates.io/crates/wascc-actor)


[](https://docs.rs/wascc-actor)
# WebAssembly Secure Capabilities Connector - Actor SDK
The waSCC Actor SDK is used by Rust developers building cloud-native workloads for the `wasm32-unknown-unknown` target. Using waSCC to host your WebAssembly module frees you of the burden of traditional non-functional requirements and boilerplate typically bogging down our development time. waSCC lets you focus squarely on compiling the business logic in a portable, secure Wasm module.
For more documentation, tutorials, and examples, please check out the [wascc](https://wascc.dev) website.
# Example
```rust
extern crate wascc_actor as actor;
use actor::prelude::*;
actor_receive!(receive);
pub fn receive(ctx: &CapabilitiesContext, operation: &str, msg: &[u8]) -> CallResult {
match operation {
http::OP_HANDLE_REQUEST => hello_world(ctx, msg),
core::OP_HEALTH_REQUEST => Ok(vec![]),
_ => Err("bad dispatch".into()),
}
}
fn hello_world(
_ctx: &CapabilitiesContext,
_msg: &[u8]) -> CallResult {
// Utilize capabilities via the context here
Ok(vec![])
}
```