Skip to content

Latest commit

 

History

History
14 lines (10 loc) · 227 Bytes

README.md

File metadata and controls

14 lines (10 loc) · 227 Bytes

Canapi-StdWeb

Fetch implementation for WASM projects.

use canapi_stdweb::WebFetch;

use my_api;

fn main() {
    let user = my_api::users.get::<WebFetch>(1).expect("fetch user");
    println!("{:?}", user);
}