optimize fullstack compile times
This commit is contained in:
1 parent
f8ce72c605
commit
23090cb56b
12 files changed
+55
-62
No files matched your search
+10
-11
@@ -19,11 +19,10 @@ euclid = "0.22.7"
|
||||
enumset = "1.0.11"
|
||||
keyboard-types = "0.7"
|
||||
async-trait = "0.1.58"
|
||||
serde-value = "0.7.0"
|
||||
serde-value = { version = "0.7.0", optional = true }
|
||||
tokio = { workspace = true, features = ["fs", "io-util"], optional = true }
|
||||
rfd = { version = "0.11.3", optional = true }
|
||||
async-channel = "1.8.0"
|
||||
serde_json = { version = "1", optional = true }
|
||||
serde_json = { version = "1" }
|
||||
|
||||
[dependencies.web-sys]
|
||||
optional = true
|
||||
@@ -48,22 +47,22 @@ features = [
|
||||
serde_json = "1"
|
||||
|
||||
[features]
|
||||
default = ["serialize", "mounted"]
|
||||
default = ["mounted"]
|
||||
serialize = [
|
||||
"serde",
|
||||
"serde_repr",
|
||||
"serde_json",
|
||||
"euclid/serde",
|
||||
"keyboard-types/serde",
|
||||
"dioxus-core/serialize",
|
||||
"serde-value",
|
||||
]
|
||||
mounted = [
|
||||
"web-sys/Element",
|
||||
"web-sys/DomRect",
|
||||
"web-sys/ScrollIntoViewOptions",
|
||||
"web-sys/ScrollLogicalPosition",
|
||||
"web-sys/ScrollBehavior",
|
||||
"web-sys/HtmlElement",
|
||||
"web-sys?/Element",
|
||||
"web-sys?/DomRect",
|
||||
"web-sys?/ScrollIntoViewOptions",
|
||||
"web-sys?/ScrollLogicalPosition",
|
||||
"web-sys?/ScrollBehavior",
|
||||
"web-sys?/HtmlElement",
|
||||
]
|
||||
wasm-bind = ["web-sys", "wasm-bindgen"]
|
||||
native-bind = ["tokio"]
|
||||
|
||||
Reference in new issue
Block a user