make dioxus dependancy optional
This commit is contained in:
1 parent
8dde4e492f
commit
6fe00c4f78
12 files changed
+1152
-1195
No files matched your search
@@ -11,10 +11,9 @@ keywords = ["dom", "ui", "gui", "react"]
|
||||
|
||||
|
||||
[dependencies]
|
||||
dioxus-core = { path = "../core", version = "^0.3.0" }
|
||||
dioxus-html = { path = "../html", version = "^0.3.0" }
|
||||
dioxus-core-macro = { path = "../core-macro", version = "^0.3.0" }
|
||||
dioxus-core = { path = "../core", version = "^0.3.0", optional = true }
|
||||
|
||||
keyboard-types = "0.6.2"
|
||||
taffy = "0.2.1"
|
||||
smallvec = "1.6"
|
||||
rustc-hash = "1.1.0"
|
||||
@@ -34,3 +33,8 @@ rayon = "1.6.1"
|
||||
rand = "0.8.5"
|
||||
dioxus = { path = "../dioxus", version = "^0.3.0" }
|
||||
tokio = { version = "*", features = ["full"] }
|
||||
dioxus-native-core = { path = ".", features = ["dioxus"] }
|
||||
|
||||
[features]
|
||||
default = ["dioxus"]
|
||||
dioxus = ["dioxus-core"]
|
||||
Reference in new issue
Block a user