diff --git a/Cargo.lock b/Cargo.lock index fd24f7c..25bfb60 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1949,7 +1949,8 @@ dependencies = [ [[package]] name = "tracing-actix-web" version = "0.4.0-beta.15" -source = "git+https://github.com/asonix/tracing-actix-web?branch=asonix/update-deps#1dbfa67f88e4f1fc8a1b800a8a47c606114b8334" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a5d25e8e2381e03c36530607daea5663488a21a1b75db0431cf9b961e9ca8a02" dependencies = [ "actix-web", "opentelemetry", @@ -1974,7 +1975,8 @@ dependencies = [ [[package]] name = "tracing-awc" version = "0.1.0-beta.6" -source = "git+https://git.asonix.dog/asonix/tracing-awc?branch=main#282e715969b4d29b8490de1f2a6311a5e3764f7a" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ccf90c391b9e519449554c325aea5ebfce3d0b525f193428250b0cb5389d6e13" dependencies = [ "actix-http", "awc", diff --git a/Cargo.toml b/Cargo.toml index c036327..6b8c52c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -6,7 +6,7 @@ authors = ["asonix "] license = "AGPL-3.0" readme = "README.md" repository = "https://git.asonix.dog/asonix/pict-rs" -edition = "2018" +edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [features] @@ -51,15 +51,11 @@ url = "2.2" uuid = { version = "0.8.2", features = ["v4", "serde"]} [dependencies.tracing-actix-web] -version = "0.4.0-beta.14" +version = "0.4.0-beta.15" default-features = false features = ["emit_event_on_error", "opentelemetry_0_16"] -git = "https://github.com/asonix/tracing-actix-web" -branch = "asonix/update-deps" [dependencies.tracing-awc] -version = "0.1.0-beta.4" +version = "0.1.0-beta.5" default-features = false features = ["emit_event_on_error", "opentelemetry_0_16"] -git = "https://git.asonix.dog/asonix/tracing-awc" -branch = "main" diff --git a/docker/prod/docker-compose.yml b/docker/prod/docker-compose.yml index f2ef8db..a7ac0dc 100644 --- a/docker/prod/docker-compose.yml +++ b/docker/prod/docker-compose.yml @@ -2,7 +2,7 @@ version: '3.3' services: pictrs: - image: asonix/pictrs:v0.3.0-alpha.39 + image: asonix/pictrs:v0.3.0-alpha.40 ports: - "127.0.0.1:8080:8080" restart: always diff --git a/src/middleware.rs b/src/middleware.rs index 47dbd28..3c08eff 100644 --- a/src/middleware.rs +++ b/src/middleware.rs @@ -113,7 +113,6 @@ where .headers() .get("X-Request-Deadline") .and_then(|deadline| { - use std::convert::TryInto; let deadline = time::OffsetDateTime::from_unix_timestamp_nanos( deadline.to_str().ok()?.parse().ok()?, )