From 2fa5f2d067db1f30c90fb240109bc01a031cca3d Mon Sep 17 00:00:00 2001 From: Rob Ede Date: Sat, 18 May 2024 21:13:36 +0100 Subject: [PATCH] build: tighten tokio dep spec --- Cargo.toml | 2 +- src/models/repo.rs | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 802c67e..19d2769 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -35,7 +35,7 @@ serde_urlencoded = "0.7" slog = "2" slog-async = "2" slog-term = "2" -tokio = { version = "1", features = ["rt-multi-thread", "macros", "sync", "time"] } +tokio = { version = "1.24.2", features = ["rt-multi-thread", "macros", "sync", "time"] } toml = "0.8" [build-dependencies] diff --git a/src/models/repo.rs b/src/models/repo.rs index 3e63db8..2927ab2 100644 --- a/src/models/repo.rs +++ b/src/models/repo.rs @@ -6,6 +6,7 @@ use relative_path::RelativePath; #[derive(Clone, Debug)] pub struct Repository { pub path: RepoPath, + #[allow(unused)] // TODO pub description: String, }