From 6e937131970d1e7b32204096e5f6c67de3fe6dfb Mon Sep 17 00:00:00 2001 From: Richard Date: Wed, 16 Feb 2022 19:11:42 -0300 Subject: Add `sysinfo` crate through feature flag --- Cargo.toml | 2 ++ winit/Cargo.toml | 1 + 2 files changed, 3 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index c6ccc5df..6c69706a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -42,6 +42,8 @@ smol = ["iced_futures/smol"] palette = ["iced_core/palette"] # Enables pure, virtual widgets in the `pure` module pure = ["iced_pure", "iced_graphics/pure"] +# Enables system information querying `Action` +sysinfo = ["iced_winit/sysinfo"] [badges] maintenance = { status = "actively-developed" } diff --git a/winit/Cargo.toml b/winit/Cargo.toml index f7232248..b7583149 100644 --- a/winit/Cargo.toml +++ b/winit/Cargo.toml @@ -17,6 +17,7 @@ debug = ["iced_native/debug"] window_clipboard = "0.2" log = "0.4" thiserror = "1.0" +sysinfo = { version = "0.23", optional = true } [dependencies.winit] version = "0.26" -- cgit