mirror of
https://github.com/emilk/egui.git
synced 2026-09-01 22:30:03 -04:00
Add features extra_asserts and extra_debug_asserts for more asserts
This replaces all debug_asserts with these opt-in asserts Related: https://github.com/emilk/egui/issues/395
This commit is contained in:
@@ -20,8 +20,14 @@ include = [
|
||||
[lib]
|
||||
|
||||
[dependencies]
|
||||
# Add compatability with https://github.com/kvark/mint
|
||||
mint = { version = "0.5.6", optional = true }
|
||||
serde = { version = "1", features = ["derive"], optional = true }
|
||||
|
||||
[features]
|
||||
default = []
|
||||
|
||||
# Enable additional checks if debug assertions are enabled (debug builds).
|
||||
extra_debug_asserts = []
|
||||
# Always enable additional checks.
|
||||
extra_asserts = []
|
||||
|
||||
Reference in New Issue
Block a user