Introduce strict-assertions feature flag
For now, this feature flag only enables validation in `iced_wgpu`; which has become quite expensive since its `0.20` release.
This commit is contained in:
parent
a5e69cfb5f
commit
84b658dbef
4 changed files with 9 additions and 0 deletions
|
|
@ -65,6 +65,8 @@ advanced = ["iced_core/advanced", "iced_widget/advanced"]
|
|||
fira-sans = ["iced_renderer/fira-sans"]
|
||||
# Enables auto-detecting light/dark mode for the built-in theme
|
||||
auto-detect-theme = ["iced_core/auto-detect-theme"]
|
||||
# Enables strict assertions for debugging purposes at the expense of performance
|
||||
strict-assertions = ["iced_renderer/strict-assertions"]
|
||||
|
||||
[dependencies]
|
||||
iced_core.workspace = true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue