mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-30 18:25:34 +01:00
Build: the workspace manifest prints no unused-dependency or unused-patch warnings
Every cargo command printed seven manifest warnings, and clippy on all
targets printed one more. Each entry below had no reader on main.
- peniko (workspace dependency): no member crate has ever declared it.
It has been in the list since the workspace skeleton (bfee80a22c).
crates/render reaches peniko through vello_cpu::peniko.
- rfd and webbrowser (workspace dependencies): #8800 moved the app onto
the craft UI framework and removed their last declarations in
apps/vectorcraft and crates/ui-egui. The folder picker and the browser
links now come from craft-libs. The rfd name in xtask's layer check
is a crate name to reject, so it does not read this entry.
- workspace.package.repository: no member crate sets
repository.workspace = true, and no packaging script, xtask command or
workflow reads the field.
- egui_demo_lib, egui_inspection and egui_system_font_provider
([patch.crates-io]): #8800 copied these from craft-libs' own patch
list, and nothing in VectorCraft's graph depends on them. Cargo.lock
listed them under [[patch.unused]]. A dependency's [patch] does not
apply in this workspace, so removing them does not change how
craft-libs builds. The egui crates that are in the graph keep their
patches at 932a73b285.
- apps/vectorcraft-web declared egui_extras for every target, but only
the wasm32 module web.rs calls it. It now sits under the wasm32
target dependencies.
Cargo.lock drops the three [[patch.unused]] entries.
This commit is contained in:
1 parent
3264cd3b21
commit
59b4e54710
3 files changed
+2
-23
No files matched your search
Generated
-15
@@ -10758,18 +10758,3 @@ dependencies = [
|
||||
"syn 3.0.9",
|
||||
"winnow",
|
||||
]
|
||||
|
||||
[[patch.unused]]
|
||||
name = "egui_demo_lib"
|
||||
version = "0.37.0"
|
||||
source = "git+https://github.com/storytold/egui.git?rev=932a73b28560acb1a695533307b2cd0d66a42081#932a73b28560acb1a695533307b2cd0d66a42081"
|
||||
|
||||
[[patch.unused]]
|
||||
name = "egui_inspection"
|
||||
version = "0.37.0"
|
||||
source = "git+https://github.com/storytold/egui.git?rev=932a73b28560acb1a695533307b2cd0d66a42081#932a73b28560acb1a695533307b2cd0d66a42081"
|
||||
|
||||
[[patch.unused]]
|
||||
name = "egui_system_font_provider"
|
||||
version = "0.37.0"
|
||||
source = "git+https://github.com/storytold/egui.git?rev=932a73b28560acb1a695533307b2cd0d66a42081#932a73b28560acb1a695533307b2cd0d66a42081"
|
||||
@@ -8,7 +8,6 @@ version = "0.24.1"
|
||||
edition = "2024"
|
||||
license = "MIT OR Apache-2.0"
|
||||
rust-version = "1.95"
|
||||
repository = "https://github.com/storytold/vectorcraft"
|
||||
|
||||
[workspace.dependencies]
|
||||
craft-cms = { git = "https://github.com/storytold/craft-libs", rev = "610c86792a02aa3d416926ee44e3ec3788dea853" }
|
||||
@@ -86,7 +85,6 @@ vectorcraft-apischema = { path = "crates/apischema" }
|
||||
|
||||
# foundation
|
||||
kurbo = { version = "0.13", features = ["serde"] }
|
||||
peniko = "0.6"
|
||||
thiserror = "2"
|
||||
serde = { version = "1", features = ["derive", "rc"] }
|
||||
serde_json = { version = "1", features = ["float_roundtrip"] }
|
||||
@@ -156,10 +154,8 @@ egui = "0.37"
|
||||
egui_extras = { version = "0.37", default-features = false, features = ["svg"] }
|
||||
eframe = { version = "0.37", default-features = false }
|
||||
egui_kittest = "0.37"
|
||||
rfd = "0.17"
|
||||
arboard = { version = "3.6", default-features = false }
|
||||
clipboard-win = "5.4"
|
||||
webbrowser = "1"
|
||||
|
||||
[workspace.lints.rust]
|
||||
unsafe_code = "deny"
|
||||
@@ -210,8 +206,5 @@ egui-wgpu = { git = "https://github.com/storytold/egui.git", rev = "932a73b28560
|
||||
egui_glow = { git = "https://github.com/storytold/egui.git", rev = "932a73b28560acb1a695533307b2cd0d66a42081" }
|
||||
egui_extras = { git = "https://github.com/storytold/egui.git", rev = "932a73b28560acb1a695533307b2cd0d66a42081" }
|
||||
egui_kittest = { git = "https://github.com/storytold/egui.git", rev = "932a73b28560acb1a695533307b2cd0d66a42081" }
|
||||
egui_system_font_provider = { git = "https://github.com/storytold/egui.git", rev = "932a73b28560acb1a695533307b2cd0d66a42081" }
|
||||
eframe = { git = "https://github.com/storytold/egui.git", rev = "932a73b28560acb1a695533307b2cd0d66a42081" }
|
||||
egui_demo_lib = { git = "https://github.com/storytold/egui.git", rev = "932a73b28560acb1a695533307b2cd0d66a42081" }
|
||||
egui_inspection = { git = "https://github.com/storytold/egui.git", rev = "932a73b28560acb1a695533307b2cd0d66a42081" }
|
||||
winit = { git = "https://github.com/storytold/winit.git", rev = "a517b3846ee8457d84ee4975110bfda6797c44dc" }
|
||||
@@ -20,12 +20,13 @@ vectorcraft-format = { workspace = true }
|
||||
vectorcraft-text = { workspace = true }
|
||||
craft = { workspace = true, features = ["ui", "keymap", "automation", "platform"] }
|
||||
egui = { workspace = true }
|
||||
egui_extras = { workspace = true }
|
||||
log = { workspace = true }
|
||||
|
||||
[target.'cfg(target_arch = "wasm32")'.dependencies]
|
||||
# `wgpu` pulls egui-wgpu's defaults: WebGPU plus the WebGL2 fallback.
|
||||
eframe = { workspace = true, features = ["default_fonts", "wgpu", "accesskit"] }
|
||||
# The image loaders `web.rs` installs.
|
||||
egui_extras = { workspace = true }
|
||||
# The page command API (storytold/craft-libs#413): the request plumbing behind window.vectorcraft.
|
||||
craft-web-api = { git = "https://github.com/storytold/craft-libs", rev = "610c86792a02aa3d416926ee44e3ec3788dea853", version = "0.1.0" }
|
||||
|
||||
|
||||
Reference in new issue
Block a user