golem-rpc-api 0.2.0

Typesafe binding for Brass Golem RPC services
Documentation
1
2
3
4
5
6
7
8
9
10
11
use golem_rpc_api::comp::SubtaskInfo;
use serde_json;

#[test]
fn test_parse_subtasks_result() {
    let json = include_str!("test-subtasks-list.json");

    let subtasks: Vec<SubtaskInfo> = serde_json::from_str(json).unwrap();

    eprintln!("{:?}", subtasks);
}