From 310690ca6780e4df192243a362029d2a73e29a29 Mon Sep 17 00:00:00 2001 From: NotAShelf Date: Sun, 22 Mar 2026 15:25:00 +0300 Subject: [PATCH] chore: inherit grass from virtual manifest Signed-off-by: NotAShelf Change-Id: I89cef078ccd7682308292996b5d527636a6a6964 --- Cargo.toml | 1 + crates/pinakes-ui/Cargo.toml | 18 +++++++++--------- 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 8d9ea1e..dc737e0 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -95,6 +95,7 @@ tempfile = "3.26.0" utoipa = { version = "5.4.0", features = ["axum_extras", "uuid", "chrono"] } utoipa-axum = { version = "0.2.0" } utoipa-swagger-ui = { version = "9.0.2", features = ["axum"] } +grass = "0.13.4" # See: # diff --git a/crates/pinakes-ui/Cargo.toml b/crates/pinakes-ui/Cargo.toml index 991a764..e820669 100644 --- a/crates/pinakes-ui/Cargo.toml +++ b/crates/pinakes-ui/Cargo.toml @@ -4,6 +4,12 @@ edition.workspace = true version.workspace = true license.workspace = true +[features] +default = ["web"] +web = ["dioxus/web"] +desktop = ["dioxus/desktop"] +mobile = ["dioxus/mobile"] + [dependencies] serde = { workspace = true } serde_json = { workspace = true } @@ -30,14 +36,8 @@ urlencoding = { workspace = true } pinakes-plugin-api = { workspace = true } rustc-hash = { workspace = true } +[build-dependencies] +grass = { workspace = true } + [lints] workspace = true - -[features] -default = ["web"] -web = ["dioxus/web"] -desktop = ["dioxus/desktop"] -mobile = ["dioxus/mobile"] - -[build-dependencies] -grass = "0.13"