File tree Expand file tree Collapse file tree 2 files changed +9
-6
lines changed Expand file tree Collapse file tree 2 files changed +9
-6
lines changed Original file line number Diff line number Diff line change @@ -6,8 +6,8 @@ edition = "2021"
6
6
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
7
7
8
8
[dependencies ]
9
- atrium-api = " 0.18.1 "
10
- atrium-xrpc-client = " 0.4.0 "
9
+ atrium-api = " 0.24.8 "
10
+ atrium-xrpc-client = " 0.5.10 "
11
11
clap = { version = " 4.5.1" , features = [" derive" ] }
12
12
futures = " 0.3.30"
13
13
tokio = { version = " 1.36.0" , features = [" macros" , " rt-multi-thread" ] }
Original file line number Diff line number Diff line change @@ -36,17 +36,20 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
36
36
. app
37
37
. bsky
38
38
. actor
39
- . get_profile ( atrium_api:: app:: bsky:: actor:: get_profile:: Parameters {
40
- actor : actor. parse ( ) . expect ( "invalid actor" ) ,
41
- } )
39
+ . get_profile (
40
+ atrium_api:: app:: bsky:: actor:: get_profile:: ParametersData {
41
+ actor : actor. parse ( ) . expect ( "invalid actor" ) ,
42
+ }
43
+ . into ( ) ,
44
+ )
42
45
. await
43
46
} )
44
47
} )
45
48
. collect :: < Vec < _ > > ( ) ;
46
49
let results = join_all ( handles) . await ;
47
50
println ! ( "{} profiles fetched!" , results. len( ) ) ;
48
51
for ( actor, result) in actors. iter ( ) . zip ( results) {
49
- println ! ( "{actor}: {:# ?}" , result?) ;
52
+ println ! ( "{actor}: {:?}" , result?) ;
50
53
}
51
54
Ok ( ( ) )
52
55
}
You can’t perform that action at this time.
0 commit comments