grid-rs-0.1.0 has been yanked.
Slipstream Rust SDK (Grid)
Overview
This is a library for using host functions from the Slipstream runtime. It's more or less a wrapper for linked Wasm imports.
Features
- kvs. Provides access to the native in-runtime key-value store. You should be able to manage keys, values, and stores from within your functions. Note: stores are currently only available, one for each function.
- time. We're enabling secure time for you to do things like event scheduling. This is a work in progress.
We have plans to enable a few other things such as message queues and web-sockets in the near future. Stay tuned!
Example
Here's a simple example of a function that stores a username and a vector of bytes in the key-value store:
use ;
use ;