renamed the feature

This commit is contained in:
marc2332 2023-05-20 22:57:17 +02:00
parent c741a32f4a
commit 5ea04017e9
No known key found for this signature in database
GPG key ID: C06A66E2828F72E1
4 changed files with 5 additions and 5 deletions

View file

@ -16,7 +16,7 @@ license = "MIT/Apache-2.0"
dioxus = { path = "../dioxus", version = "^0.3.0" }
dioxus-core = { path = "../core", version = "^0.3.0", features = ["serialize"] }
dioxus-html = { path = "../html", version = "^0.3.0" }
dioxus-native-core = { path = "../native-core", version = "^0.2.0", features = ["dioxus", "taffy"] }
dioxus-native-core = { path = "../native-core", version = "^0.2.0", features = ["dioxus", "layout-attributes"] }
dioxus-native-core-macro = { path = "../native-core-macro", version = "^0.3.0" }
dioxus-hot-reload = { path = "../hot-reload", optional = true }
rink = { path = "../rink" }

View file

@ -31,11 +31,11 @@ shipyard = { version = "0.6.2", features = ["proc", "std"], default-features = f
rand = "0.8.5"
dioxus = { path = "../dioxus", version = "^0.3.0" }
tokio = { version = "*", features = ["full"] }
dioxus-native-core = { path = ".", features = ["dioxus", "taffy"] }
dioxus-native-core = { path = ".", features = ["dioxus", "layout-attributes"] }
dioxus-native-core-macro = { path = "../native-core-macro" }
[features]
default = []
taffy = ["dep:taffy", "dep:lightningcss"]
layout-attributes = ["dep:taffy", "dep:lightningcss"]
dioxus = ["dioxus-core"]
parallel = ["shipyard/parallel"]

View file

@ -9,7 +9,7 @@ use rustc_hash::FxHasher;
#[cfg(feature = "dioxus")]
pub mod dioxus;
#[cfg(feature = "taffy")]
#[cfg(feature = "layout-attributes")]
pub mod layout_attributes;
pub mod node;
pub mod node_ref;

View file

@ -14,7 +14,7 @@ license = "MIT/Apache-2.0"
[dependencies]
dioxus-html = { path = "../html", version = "^0.3.0" }
dioxus-native-core = { path = "../native-core", version = "^0.2.0", features = ["taffy"] }
dioxus-native-core = { path = "../native-core", version = "^0.2.0", features = ["layout-attributes"] }
dioxus-native-core-macro = { path = "../native-core-macro", version = "^0.3.0" }
tui = "0.17.0"