From 699ddcf95a8000943fd0938c1d55fb6047d2adc3 Mon Sep 17 00:00:00 2001 From: Mariusz Klochowicz Date: Mon, 27 Sep 2021 18:23:46 +0930 Subject: [PATCH] Use latest github snapshot of xtra Master branch includes some desired fixes, such as clippy warnings when a future has not been awaited. --- Cargo.lock | 5 ++--- Cargo.toml | 1 + daemon/Cargo.toml | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 697552e..260c1ce 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3068,9 +3068,8 @@ dependencies = [ [[package]] name = "xtra" -version = "0.5.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bd0133cb26accfd34360ab6b8fe9745d8907dcaee0cd7f8191dee4fd884e88d0" +version = "0.6.0" +source = "git+https://github.com/Restioson/xtra#1ba8cb3f98502363fdea8008b47b9c9b5eba6b5f" dependencies = [ "async-trait", "barrage", diff --git a/Cargo.toml b/Cargo.toml index 1f18ee5..bd63170 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -4,3 +4,4 @@ resolver = "2" [patch.crates-io] rocket = { git = "https://github.com/SergioBenitez/Rocket" } # Need to patch rocket dependency of `rocket_basicauth` until there is an official release. +xtra = { git = "https://github.com/Restioson/xtra" } # Need to patch xtra dependency until there is an official release as it contains useful PRs from us. diff --git a/daemon/Cargo.toml b/daemon/Cargo.toml index bee7d6a..4506ac4 100644 --- a/daemon/Cargo.toml +++ b/daemon/Cargo.toml @@ -32,7 +32,7 @@ tokio-util = { version = "0.6", features = ["codec"] } tracing = { version = "0.1" } tracing-subscriber = { version = "0.2", default-features = false, features = ["fmt", "ansi", "env-filter", "chrono", "tracing-log", "json"] } uuid = { version = "0.8", features = ["serde", "v4"] } -xtra = { version = "0.5", features = ["with-tokio-1"] } +xtra = { version = "0.6", features = ["with-tokio-1"] } [[bin]] name = "taker"