Skip to content

Commit

Permalink
feat: Update xrpc version, fix base_uri (#84)
Browse files Browse the repository at this point in the history
  • Loading branch information
sugyan authored Nov 22, 2023
1 parent 809fd86 commit cd9b42d
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion atrium-xrpc-client/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ keywords = ["atproto", "bluesky"]

[dependencies]
async-trait = "0.1.74"
atrium-xrpc = "0.7.0"
atrium-xrpc = "0.8.0"
http = "0.2.9"

[dependencies.isahc]
Expand Down
4 changes: 2 additions & 2 deletions atrium-xrpc-client/src/isahc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,8 @@ impl HttpClient for IsahcClient {
}

impl XrpcClient for IsahcClient {
fn base_uri(&self) -> &str {
&self.base_uri
fn base_uri(&self) -> String {
self.base_uri.clone()
}
}

Expand Down
4 changes: 2 additions & 2 deletions atrium-xrpc-client/src/reqwest.rs
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@ impl HttpClient for ReqwestClient {
}

impl XrpcClient for ReqwestClient {
fn base_uri(&self) -> &str {
&self.base_uri
fn base_uri(&self) -> String {
self.base_uri.clone()
}
}

Expand Down
4 changes: 2 additions & 2 deletions atrium-xrpc-client/src/surf.rs
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@ impl HttpClient for SurfClient {
}

impl XrpcClient for SurfClient {
fn base_uri(&self) -> &str {
&self.base_uri
fn base_uri(&self) -> String {
self.base_uri.clone()
}
}

Expand Down

0 comments on commit cd9b42d

Please sign in to comment.