Skip to content

WhyNotSwitch/w3bstream-wasm-rust-sdk

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

w3bstream-wasm-rust-sdk

A Rust SDK for writing Webassembly for W3bstream.

Crates.io Apache licensed

Website | Guides | API Docs

Example

Say “Hello World!” to the w3bstream with rust-sdk.

Make sure you added the ws-sdk crate on Cargo.toml:

cargo add ws-sdk

Then, on your lib.rs:

use ws_sdk::log::log_info;

#[no_mangle]
pub extern "C" fn start(_: i32) -> i32 {
    log_info("hello world!");
    return 0;
}

More examples can be found here.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 100.0%