Skip to content

Commit

Permalink
Update attohttpc requirement from 0.28 to 0.29 (#233)
Browse files Browse the repository at this point in the history
  • Loading branch information
dependabot[bot] authored Feb 24, 2025
1 parent 5305532 commit 7488d73
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ version: 2
jobs:
circle-all:
docker:
- image: rust:1.75.0
- image: rust:1.85.0
environment:
RUSTFLAGS: -D warnings
steps:
Expand Down
2 changes: 1 addition & 1 deletion conjure-runtime/src/raw/body.rs
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ pub(crate) enum Writer<'a> {
},
}

impl<'a> Writer<'a> {
impl Writer<'_> {
pub async fn write(self) -> Result<(), Error> {
match self {
Writer::Nop => Ok(()),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -234,11 +234,7 @@ impl Future for Acquire {
Poll::Ready(permit)
} else {
// if the future jumped executors (uncommon but possible), update the waker
if !node
.waker
.as_ref()
.map_or(false, |w| w.will_wake(cx.waker()))
{
if !node.waker.as_ref().is_some_and(|w| w.will_wake(cx.waker())) {
node.waker = Some(cx.waker().clone());
}

Expand Down
2 changes: 1 addition & 1 deletion conjure-runtime/src/service/retry.rs
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ where
&& error
.cause()
.downcast_ref::<RemoteError>()
.map_or(false, |e| *e.status() == StatusCode::INTERNAL_SERVER_ERROR)
.is_some_and(|e| *e.status() == StatusCode::INTERNAL_SERVER_ERROR)
{
Ok(AttemptOutcome::Retry {
error,
Expand Down
2 changes: 1 addition & 1 deletion conjure-verification-api/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ publish = false
links = "conjure-verification" # a hack to pass info upstream to conjure-verification's build script

[build-dependencies]
attohttpc = "0.28"
attohttpc = "0.29"
conjure-codegen = "4"
flate2 = "1.0"
tar = "0.4"
Expand Down
1 change: 1 addition & 0 deletions conjure-verification/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ impl Drop for VerificationServer {
}

impl VerificationServer {
#[allow(clippy::zombie_processes)]
fn start() -> VerificationServer {
let binary = Path::new(env!("VERIFICATION_SERVER"));
let test_cases = Path::new(env!("TEST_CASES"));
Expand Down

0 comments on commit 7488d73

Please sign in to comment.