feat: Move layout_attributes behind a feature in native-core
This commit is contained in:
4 files changed
+7
-8
No files matched your search
@@ -16,7 +16,7 @@ license = "MIT/Apache-2.0"
|
|||||||
dioxus = { path = "../dioxus", version = "^0.3.0" }
|
dioxus = { path = "../dioxus", version = "^0.3.0" }
|
||||||
dioxus-core = { path = "../core", version = "^0.3.0", features = ["serialize"] }
|
dioxus-core = { path = "../core", version = "^0.3.0", features = ["serialize"] }
|
||||||
dioxus-html = { path = "../html", version = "^0.3.0" }
|
dioxus-html = { path = "../html", version = "^0.3.0" }
|
||||||
dioxus-native-core = { path = "../native-core", version = "^0.2.0", features = ["dioxus"] }
|
dioxus-native-core = { path = "../native-core", version = "^0.2.0", features = ["dioxus", "taffy"] }
|
||||||
dioxus-native-core-macro = { path = "../native-core-macro", version = "^0.3.0" }
|
dioxus-native-core-macro = { path = "../native-core-macro", version = "^0.3.0" }
|
||||||
dioxus-hot-reload = { path = "../hot-reload", optional = true }
|
dioxus-hot-reload = { path = "../hot-reload", optional = true }
|
||||||
rink = { path = "../rink" }
|
rink = { path = "../rink" }
|
||||||
|
|||||||
@@ -14,18 +14,15 @@ keywords = ["dom", "ui", "gui", "react"]
|
|||||||
dioxus-core = { path = "../core", version = "^0.3.0", optional = true }
|
dioxus-core = { path = "../core", version = "^0.3.0", optional = true }
|
||||||
|
|
||||||
keyboard-types = "0.6.2"
|
keyboard-types = "0.6.2"
|
||||||
taffy = "0.2.1"
|
|
||||||
smallvec = "1.6"
|
smallvec = "1.6"
|
||||||
rustc-hash = "1.1.0"
|
rustc-hash = "1.1.0"
|
||||||
anymap = "1.0.0-beta.2"
|
anymap = "1.0.0-beta.2"
|
||||||
slab = "0.4"
|
|
||||||
parking_lot = { version = "0.12.1", features = ["send_guard"] }
|
parking_lot = { version = "0.12.1", features = ["send_guard"] }
|
||||||
crossbeam-deque = "0.8.2"
|
|
||||||
dashmap = "5.4.0"
|
dashmap = "5.4.0"
|
||||||
hashbrown = { version = "0.13.2", features = ["raw"] }
|
|
||||||
|
|
||||||
# for parsing attributes
|
# for parsing attributes
|
||||||
lightningcss = "1.0.0-alpha.39"
|
taffy = { version = "0.2.1", optional = true }
|
||||||
|
lightningcss = { version = "1.0.0-alpha.39", optional = true }
|
||||||
|
|
||||||
rayon = "1.6.1"
|
rayon = "1.6.1"
|
||||||
shipyard = { version = "0.6.2", features = ["proc", "std"], default-features = false }
|
shipyard = { version = "0.6.2", features = ["proc", "std"], default-features = false }
|
||||||
@@ -35,10 +32,11 @@ shipyard_hierarchy = "0.6.0"
|
|||||||
rand = "0.8.5"
|
rand = "0.8.5"
|
||||||
dioxus = { path = "../dioxus", version = "^0.3.0" }
|
dioxus = { path = "../dioxus", version = "^0.3.0" }
|
||||||
tokio = { version = "*", features = ["full"] }
|
tokio = { version = "*", features = ["full"] }
|
||||||
dioxus-native-core = { path = ".", features = ["dioxus"] }
|
dioxus-native-core = { path = ".", features = ["dioxus", "taffy"] }
|
||||||
dioxus-native-core-macro = { path = "../native-core-macro" }
|
dioxus-native-core-macro = { path = "../native-core-macro" }
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
default = []
|
default = []
|
||||||
|
taffy = ["dep:taffy", "dep:lightningcss"]
|
||||||
dioxus = ["dioxus-core"]
|
dioxus = ["dioxus-core"]
|
||||||
parallel = ["shipyard/parallel"]
|
parallel = ["shipyard/parallel"]
|
||||||
@@ -9,6 +9,7 @@ use rustc_hash::FxHasher;
|
|||||||
|
|
||||||
#[cfg(feature = "dioxus")]
|
#[cfg(feature = "dioxus")]
|
||||||
pub mod dioxus;
|
pub mod dioxus;
|
||||||
|
#[cfg(feature = "taffy")]
|
||||||
pub mod layout_attributes;
|
pub mod layout_attributes;
|
||||||
pub mod node;
|
pub mod node;
|
||||||
pub mod node_ref;
|
pub mod node_ref;
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ license = "MIT/Apache-2.0"
|
|||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
dioxus-html = { path = "../html", version = "^0.3.0" }
|
dioxus-html = { path = "../html", version = "^0.3.0" }
|
||||||
dioxus-native-core = { path = "../native-core", version = "^0.2.0" }
|
dioxus-native-core = { path = "../native-core", version = "^0.2.0", features = ["taffy"]}
|
||||||
dioxus-native-core-macro = { path = "../native-core-macro", version = "^0.3.0" }
|
dioxus-native-core-macro = { path = "../native-core-macro", version = "^0.3.0" }
|
||||||
|
|
||||||
tui = "0.17.0"
|
tui = "0.17.0"
|
||||||
|
|||||||
Reference in new issue
Block a user