From 5c890a33aee38dd4f7cffb98dd362e3d1b2eef22 Mon Sep 17 00:00:00 2001 From: aiongg Date: Fri, 13 Nov 2026 23:36:41 +0000 Subject: [PATCH] Manifests: crates that turn off a dependency's default features name it by path (cargo 1.95 refuses the override on a workspace dependency) --- crates/pages/Cargo.toml | 2 +- crates/ui-contract/Cargo.toml | 2 +- crates/ui-patterns/Cargo.toml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/crates/pages/Cargo.toml b/crates/pages/Cargo.toml index 273a8178c..3bce55f00 100644 --- a/crates/pages/Cargo.toml +++ b/crates/pages/Cargo.toml @@ -25,7 +25,7 @@ screen-testing = ["ui", "craft-ui/testing"] [dependencies] # `numbering` formats page numbers with craft-text's list number styles. -craft-text = { workspace = true, default-features = false } +craft-text = { path = "../text", default-features = false } kurbo = { workspace = true } serde = { workspace = true } craft-behavior = { workspace = true, optional = true } diff --git a/crates/ui-contract/Cargo.toml b/crates/ui-contract/Cargo.toml index b565eab80..84a5c99e5 100644 --- a/crates/ui-contract/Cargo.toml +++ b/crates/ui-contract/Cargo.toml @@ -54,7 +54,7 @@ serde = { workspace = true } skrifa = { version = "0.44", default-features = false, features = ["std"] } flate2 = { version = "1", default-features = false, features = ["rust_backend"] } # The installed font folders, for the on-demand font candidates (`fonts::SystemCandidates`). -craft-font-catalog = { workspace = true, default-features = false } +craft-font-catalog = { path = "../font-catalog", default-features = false } # The craft-fonts faces (`fonts::EmbeddedFace`, `fonts::ServedFace`). craft-fonts-build = { workspace = true } # Only `color_fonts` reads it: the feature turns on epaint's colour glyphs. diff --git a/crates/ui-patterns/Cargo.toml b/crates/ui-patterns/Cargo.toml index 24a1fcbf5..dc63a22b4 100644 --- a/crates/ui-patterns/Cargo.toml +++ b/crates/ui-patterns/Cargo.toml @@ -35,7 +35,7 @@ serde_json = { workspace = true } toml = { version = "1.1", default-features = false, features = ["std", "parse", "serde"] } toml_edit = { version = "0.25", features = ["serde"] } # `patterns::form_dialogs::PdfExportDialog` edits `craft_pdf::settings::PdfSettings`. -craft-pdf = { workspace = true, default-features = false } +craft-pdf = { path = "../pdf", version = "=0.1.0", default-features = false } # `patterns::form_dialogs::Secret` zeroes its buffer on drop. zeroize = "1.9"