From fc15a70794a702106ec5ba13f48a301a1d62161f Mon Sep 17 00:00:00 2001 From: Hugo Osvaldo Barrera Date: Sat, 27 Jul 2024 12:33:08 +0200 Subject: [PATCH] Fix build in Rust 1.8.0 Rust itself had some backwards incompatible changes. Older versions of `time` no longer build. Fixes: https://todo.sr.ht/~whynothugo/shotman/33 --- Cargo.lock | 8 ++++---- Cargo.toml | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index a615e9a..96e11c9 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -741,9 +741,9 @@ dependencies = [ [[package]] name = "time" -version = "0.3.34" +version = "0.3.36" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c8248b6521bb14bc45b4067159b9b6ad792e2d6d754d6c41fb50e29fefe38749" +checksum = "5dfd88e563464686c916c7e46e623e520ddc6d79fa6641390f2e3fa86e83e885" dependencies = [ "deranged", "itoa", @@ -764,9 +764,9 @@ checksum = "ef927ca75afb808a4d64dd374f00a2adf8d0fcff8e7b184af886c3c87ec4a3f3" [[package]] name = "time-macros" -version = "0.2.17" +version = "0.2.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7ba3a3ef41e6672a2f0f001392bb5dcd3ff0a9992d618ca761a11c3121547774" +checksum = "3f252a68540fde3a3877aeea552b832b40ab9a69e318efd078774a01ddee1ccf" dependencies = [ "num-conv", "time-core", diff --git a/Cargo.toml b/Cargo.toml index eb5f6aa..87e3603 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -44,5 +44,5 @@ serde_json = "1.0.85" nom = "7.1.1" futures-channel = { version = "0.3.25", default-features = false, features = ["std"] } calloop = { version = "0.12.3", features = ["executor"] } -time = { version = "0.3.20", default-features = false, features = ["formatting", "local-offset", "macros"] } +time = { version = "0.3.35", default-features = false, features = ["formatting", "local-offset", "macros"] } calloop-wayland-source = "0.2.0" -- 2.45.2