Handle deserialize errors without panic (#2664)
* Handle deserialize errors rather than panic * don't clone event data for deserialization in debug or release mode --------- Co-authored-by: Evan Almloff <evanalmloff@gmail.com>
This commit is contained in:
1 parent
ba64ee04c2
commit
5bdb147afd
3 files changed
+14
-43
No files matched your search
@@ -25,7 +25,6 @@ euclid = "0.22.7"
|
||||
enumset = "1.1.2"
|
||||
keyboard-types = { version = "0.7", default-features = false }
|
||||
async-trait = { version = "0.1.58", optional = true }
|
||||
serde-value = { version = "0.7.0", optional = true }
|
||||
tokio = { workspace = true, features = ["fs", "io-util"], optional = true }
|
||||
rfd = { version = "0.14", optional = true }
|
||||
futures-channel = { workspace = true }
|
||||
@@ -72,8 +71,7 @@ serialize = [
|
||||
"dep:serde_repr",
|
||||
"euclid/serde",
|
||||
"keyboard-types/serde",
|
||||
"dioxus-core/serialize",
|
||||
"serde-value",
|
||||
"dioxus-core/serialize"
|
||||
]
|
||||
mounted = [
|
||||
"web-sys?/Element",
|
||||
|
||||
Reference in new issue
Block a user