Add sysinfo crate through feature flag
This commit is contained in:
parent
764b424dfc
commit
6e93713197
2 changed files with 3 additions and 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" }
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue