From 0b97a45d8bb9d03a7d5e8d0f3fca5bfe034f4c63 Mon Sep 17 00:00:00 2001 From: Michel de Graaf Date: Mon, 21 Sep 2026 12:15:43 +0200 Subject: [PATCH] build: declare Rust 1.91 as the minimum version Duration::from_mins needs it, and without the field cargo on an older toolchain fails on the edition instead of naming the version it wants. --- Cargo.toml | 1 + soulseek-rs-lib/Cargo.toml | 1 + soulseek-rs/Cargo.toml | 1 + 3 files changed, 3 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index 310dc01..47a88b9 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -6,6 +6,7 @@ resolver = "2" version = "19.0.0" authors = ["Michel de Graaf"] edition = "2024" +rust-version = "1.91" license = "MIT" repository = "https://github.com/michel/soulseek-rs" homepage = "https://re-invention.nl/soulseek-rs/" diff --git a/soulseek-rs-lib/Cargo.toml b/soulseek-rs-lib/Cargo.toml index ebc7d14..659c074 100644 --- a/soulseek-rs-lib/Cargo.toml +++ b/soulseek-rs-lib/Cargo.toml @@ -3,6 +3,7 @@ name = "soulseek-rs-lib" version.workspace = true authors.workspace = true edition.workspace = true +rust-version.workspace = true license.workspace = true repository.workspace = true homepage.workspace = true diff --git a/soulseek-rs/Cargo.toml b/soulseek-rs/Cargo.toml index 1465749..23cd1f6 100644 --- a/soulseek-rs/Cargo.toml +++ b/soulseek-rs/Cargo.toml @@ -3,6 +3,7 @@ name = "soulseek-rs" version.workspace = true authors.workspace = true edition.workspace = true +rust-version.workspace = true license.workspace = true repository.workspace = true homepage.workspace = true