Add sysinfo crate through feature flag

This commit is contained in:
Richard 2022-02-16 19:11:42 -03:00
parent 764b424dfc
commit 6e93713197
2 changed files with 3 additions and 0 deletions

View file

@ -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" }

View file

@ -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"