Skip to content

Commit

Permalink
chore: remove async_trait (#1824)
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcoIeni authored Nov 9, 2024
1 parent 4973156 commit 43e9cdd
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 5 deletions.
1 change: 0 additions & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ edition = "2021"
[workspace.dependencies]
anyhow = "1.0.86"
assert_cmd = "2.0.16"
async-trait = "0.1.81"
base64 = "0.22.1"
camino = "1.1.9"
cargo_metadata = "0.18.1"
Expand Down
1 change: 0 additions & 1 deletion crates/release_plz/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ test_logs = { path = "../test_logs" }
fake_package = { path = "../fake_package" }

assert_cmd.workspace = true
async-trait.workspace = true
fake.workspace = true
expect-test.workspace = true
pretty_assertions.workspace = true
Expand Down
2 changes: 0 additions & 2 deletions crates/release_plz/tests/all/helpers/reqwest_utils.rs
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
use anyhow::Context;
use reqwest::Response;

#[async_trait::async_trait]
pub trait ReqwestUtils {
async fn ok_if_2xx(self) -> anyhow::Result<Response>;
}

#[async_trait::async_trait]
impl ReqwestUtils for Response {
async fn ok_if_2xx(self) -> anyhow::Result<Self> {
if self.status().is_success() {
Expand Down

0 comments on commit 43e9cdd

Please sign in to comment.