diff options
author | 2022-02-16 19:11:42 -0300 | |
---|---|---|
committer | 2022-04-26 18:54:06 -0300 | |
commit | 6e937131970d1e7b32204096e5f6c67de3fe6dfb (patch) | |
tree | 089c7858eef854c2d03c9a769ed6e984bd00bacf | |
parent | 764b424dfc2b2163f21483a6d1f05ea1da62c561 (diff) | |
download | iced-6e937131970d1e7b32204096e5f6c67de3fe6dfb.tar.gz iced-6e937131970d1e7b32204096e5f6c67de3fe6dfb.tar.bz2 iced-6e937131970d1e7b32204096e5f6c67de3fe6dfb.zip |
Add `sysinfo` crate through feature flag
-rw-r--r-- | Cargo.toml | 2 | ||||
-rw-r--r-- | winit/Cargo.toml | 1 |
2 files changed, 3 insertions, 0 deletions
@@ -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" |