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"