Make more dependencies workspace dependencies (#7495)

This commit is contained in:
Emil Ernerfeldt 2025-09-04 09:54:59 +02:00 committed by GitHub
parent b9414bd4cc
commit 4947b191e4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 15 additions and 8 deletions

View File

@ -79,17 +79,23 @@ bitflags = "2.6"
bytemuck = "1.23.2" bytemuck = "1.23.2"
criterion = { version = "0.7", default-features = false } criterion = { version = "0.7", default-features = false }
dify = { version = "0.7", default-features = false } dify = { version = "0.7", default-features = false }
directories = "6"
document-features = "0.2.10" document-features = "0.2.10"
glow = "0.16" glow = "0.16"
glutin = { version = "0.32.0", default-features = false } glutin = { version = "0.32.0", default-features = false }
glutin-winit = { version = "0.5.0", default-features = false } glutin-winit = { version = "0.5.0", default-features = false }
home = "0.5.9" home = "0.5.9"
image = { version = "0.25", default-features = false } image = { version = "0.25", default-features = false }
js-sys = "0.3"
kittest = { version = "0.2.0" } kittest = { version = "0.2.0" }
log = { version = "0.4", features = ["std"] } log = { version = "0.4", features = ["std"] }
mimalloc = "0.1.46" mimalloc = "0.1.46"
nohash-hasher = "0.2" nohash-hasher = "0.2"
objc2 = "0.5.1"
objc2-app-kit = { version = "0.2.0", default-features = false }
objc2-foundation = { version = "0.2.0", default-features = false }
parking_lot = "0.12" parking_lot = "0.12"
percent-encoding = "2.1"
pollster = "0.4" pollster = "0.4"
profiling = { version = "1.0.16", default-features = false } profiling = { version = "1.0.16", default-features = false }
puffin = "0.19" puffin = "0.19"
@ -99,6 +105,7 @@ ron = "0.11"
serde = { version = "1", features = ["derive"] } serde = { version = "1", features = ["derive"] }
similar-asserts = "1.4.2" similar-asserts = "1.4.2"
smallvec = "1" smallvec = "1"
static_assertions = "1.1.0"
thiserror = "1.0.37" thiserror = "1.0.37"
type-map = "0.5.0" type-map = "0.5.0"
unicode-segmentation = "1.12.0" unicode-segmentation = "1.12.0"

View File

@ -42,7 +42,7 @@ default = [
"egui-wgpu?/fragile-send-sync-non-atomic-wasm", "egui-wgpu?/fragile-send-sync-non-atomic-wasm",
# Let's enable some backends so that users can use `eframe` out-of-the-box # Let's enable some backends so that users can use `eframe` out-of-the-box
# without having to explicitly opt-in to backends # without having to explicitly opt-in to backends
"egui-wgpu?/default" "egui-wgpu?/default",
] ]
## Enable platform accessibility API implementations through [AccessKit](https://accesskit.dev/). ## Enable platform accessibility API implementations through [AccessKit](https://accesskit.dev/).
@ -135,7 +135,7 @@ log.workspace = true
parking_lot.workspace = true parking_lot.workspace = true
profiling.workspace = true profiling.workspace = true
raw-window-handle.workspace = true raw-window-handle.workspace = true
static_assertions = "1.1.0" static_assertions.workspace = true
web-time.workspace = true web-time.workspace = true
# Optional dependencies # Optional dependencies
@ -174,14 +174,14 @@ wgpu = { workspace = true, optional = true }
# mac: # mac:
[target.'cfg(any(target_os = "macos"))'.dependencies] [target.'cfg(any(target_os = "macos"))'.dependencies]
objc2 = "0.5.1" objc2.workspace = true
objc2-foundation = { version = "0.2.0", default-features = false, features = [ objc2-foundation = { workspace = true, default-features = false, features = [
"std", "std",
"block2", "block2",
"NSData", "NSData",
"NSString", "NSString",
] } ] }
objc2-app-kit = { version = "0.2.0", default-features = false, features = [ objc2-app-kit = { workspace = true, default-features = false, features = [
"std", "std",
"NSApplication", "NSApplication",
"NSImage", "NSImage",
@ -205,8 +205,8 @@ windows-sys = { workspace = true, features = [
[target.'cfg(target_arch = "wasm32")'.dependencies] [target.'cfg(target_arch = "wasm32")'.dependencies]
bytemuck.workspace = true bytemuck.workspace = true
image = { workspace = true, features = ["png"] } # For copying images image = { workspace = true, features = ["png"] } # For copying images
js-sys = "0.3" js-sys.workspace = true
percent-encoding = "2.1" percent-encoding.workspace = true
wasm-bindgen.workspace = true wasm-bindgen.workspace = true
wasm-bindgen-futures.workspace = true wasm-bindgen-futures.workspace = true
web-sys = { workspace = true, features = [ web-sys = { workspace = true, features = [
@ -271,4 +271,4 @@ wgpu = { workspace = true, optional = true }
# Native dev dependencies for testing # Native dev dependencies for testing
[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies] [target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies]
directories = "6" directories.workspace = true