From 5ea04017e9e505e64a9b93dc752dfe1df10367b7 Mon Sep 17 00:00:00 2001 From: marc2332 Date: Sat, 20 May 2023 22:57:17 +0200 Subject: [PATCH] renamed the feature --- packages/dioxus-tui/Cargo.toml | 2 +- packages/native-core/Cargo.toml | 4 ++-- packages/native-core/src/lib.rs | 2 +- packages/rink/Cargo.toml | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/packages/dioxus-tui/Cargo.toml b/packages/dioxus-tui/Cargo.toml index 370df33ad..5f3aac196 100644 --- a/packages/dioxus-tui/Cargo.toml +++ b/packages/dioxus-tui/Cargo.toml @@ -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" } diff --git a/packages/native-core/Cargo.toml b/packages/native-core/Cargo.toml index 66bc26395..3cda325dd 100644 --- a/packages/native-core/Cargo.toml +++ b/packages/native-core/Cargo.toml @@ -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"] diff --git a/packages/native-core/src/lib.rs b/packages/native-core/src/lib.rs index d50c7cf0f..5a88ff205 100644 --- a/packages/native-core/src/lib.rs +++ b/packages/native-core/src/lib.rs @@ -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; diff --git a/packages/rink/Cargo.toml b/packages/rink/Cargo.toml index fe46d5b1e..acdf1f7da 100644 --- a/packages/rink/Cargo.toml +++ b/packages/rink/Cargo.toml @@ -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"