From bb12fdc272400c8995c1c370a01f55fd515bcd7c Mon Sep 17 00:00:00 2001 From: Eduardo Flores Date: Thu, 9 Jan 2025 16:29:44 +0100 Subject: [PATCH] add: msrv --- Cargo.toml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 1015ef3..18a5f5d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -11,6 +11,7 @@ repository = "https://github.com/rust-dark-light/rust-dark-light" description = "Detect if dark mode or light mode is enabled" readme = "README.md" build = "build.rs" +rust-version = "1.78.0" [dependencies] futures-lite = "2.3.0" @@ -20,7 +21,9 @@ log = "0.4.22" tokio = { version = "1.23.0", features = ["full"] } [target.'cfg(any(target_os = "linux", target_os = "freebsd", target_os = "dragonfly", target_os = "netbsd", target_os = "openbsd"))'.dependencies] -ashpd = { version = "0.10.0", default-features = false, features = ["async-std"] } +ashpd = { version = "0.10.0", default-features = false, features = [ + "async-std", +] } [target.'cfg(windows)'.dependencies] winreg = "0.52.0"