Git repository hosting, collaboration, and discovery for the Fediverse.
Fixes!
parent: tbd commit: 46cd262
1 | use FromStr; |
2 | |
3 | use DaemonConnectionPool; |
4 | use |
5 | , | Instance
6 | , | ObjectBackend
7 | , |
8 | ; |
9 | |
10 | use Result; |
11 | use info; |
12 | |
13 | |
14 | async |
15 | ; | init
16 | ?; | install
17 | |
18 | let pool = connect_other |
19 | ?, | from_str
20 | parse .unwrap, | .
21 | |
22 | .unwrap; |
23 | |
24 | let mut user = pool. .await?; |
25 | |
26 | info!; |
27 | |
28 | let display_name = user. .await?; |
29 | |
30 | info!; |
31 | |
32 | let repositories = user |
33 | .repositories |
34 | .await?; |
35 | |
36 | info!; |
37 | |
38 | Ok |
39 | |
40 |