Wow!
parent: tbd commit: 6530104
1 | use FromStr; |
2 | |
3 | use CreateIssueRequest; |
4 | use ; |
5 | use RuntimeHandle; |
6 | use ; |
7 | use Level; |
8 | |
9 | |
10 | pub async |
11 | fmt |
12 | .pretty |
13 | .with_thread_names |
14 | .with_max_level |
15 | .init; |
16 | |
17 | let mut runtime = new; |
18 | |
19 | runtime.load_dylib?; |
20 | |
21 | runtime.init; |
22 | |
23 | let runtime = unsafe ; |
24 | |
25 | let operation = CreateIssueRequest |
26 | name: String from, |
27 | contents: String from, |
28 | author: from_str .unwrap, |
29 | ; |
30 | |
31 | match runtime.handle_typed |
32 | unwrap, | from_str .
33 | operation, |
34 | |
35 | Ok => |
36 | println! |
37 | |
38 | Err => |
39 | println! |
40 | |
41 | |
42 | |
43 | Ok |
44 | |
45 |