# Objective Unify dependencies inside of the root `Cargo.toml` to prevent versions from going out of sync and creating copies of dependencies. ## Testing - All tests pass, nothing touches the `Cargo.lock` ## Review Review is easiest by going through commit by commit. Release Notes: - N/A or Added/Fixed/Improved ...
Unified · Split
| @@ -555,12 +555,14 @@ aws-smithy-types = { version = "1.3.4", features = ["http-body-1-x"] } · 554 unmodified lines | ||
| 555 | 555 | backtrace = "0.3" |
| 556 | 556 | base64 = "0.22" |
| 557 | 557 | bitflags = "2.6.0" |
| 558 | +block = "0.1" | |
| 558 | 559 | block2 = "0.6" |
| 559 | 560 | brotli = "8.0.2" |
| 560 | 561 | bytes = "1.0" |
| 561 | 562 | cargo_metadata = "0.19" |
| 562 | 563 | cargo_toml = "0.21" |
| 563 | 564 | brush-parser = "0.3" |
| 565 | +cbindgen = { version = "0.28.0", default-features = false } | |
| 564 | 566 | cfg-if = "1.0.3" |
| 565 | 567 | chardetng = "0.1" |
| 566 | 568 | chrono = { version = "0.4", features = ["serde"] } |
| @@ -575,6 +577,8 @@ const_format = "0.2" · 8 unmodified lines | ||
| 575 | 577 | convert_case = "0.11.0" |
| 576 | 578 | core-foundation = "0.10" |
| 577 | 579 | core-foundation-sys = "0.8.6" |
| 580 | +core-graphics = "0.24" | |
| 581 | +core-text = "21" | |
| 578 | 582 | core-video = { version = "0.5.2", features = ["metal"] } |
| 579 | 583 | cpal = "0.17" |
| 580 | 584 | crash-handler = "0.7" |
| @@ -601,10 +605,12 @@ ec4rs = { version = "1.2", features = ["allow-empty-values"] } · 20 unmodified lines | ||
| 601 | 605 | emojis = "0.6.1" |
| 602 | 606 | env_logger = "0.11" |
| 603 | 607 | encoding_rs = "0.8" |
| 608 | +etagere = "0.2" | |
| 604 | 609 | exec = "0.3.1" |
| 605 | 610 | fancy-regex = "0.18.0" |
| 606 | 611 | fork = "0.4.0" |
| 607 | 612 | flume = "0.12" |
| 613 | +foreign-types = "0.5" | |
| 608 | 614 | futures = "0.3.32" |
| 609 | 615 | futures-concurrency = "7.7.1" |
| 610 | 616 | futures-lite = "1.13" |
| @@ -717,6 +723,7 @@ palette = { version = "0.7.5", default-features = false, features = ["std"] } · 106 unmodified lines | ||
| 717 | 723 | parking_lot = "0.12.1" |
| 718 | 724 | partial-json-fixer = "0.5.3" |
| 719 | 725 | parse_int = "0.9" |
| 726 | +pathfinder_geometry = "0.5" | |
| 720 | 727 | pciid-parser = "0.8.0" |
| 721 | 728 | pathdiff = "0.2" |
| 722 | 729 | percent-encoding = "2.3.2" |
| @@ -798,6 +805,7 @@ stacksafe = "0.1" · 75 unmodified lines | ||
| 798 | 805 | streaming-iterator = "0.1" |
| 799 | 806 | strsim = "0.11" |
| 800 | 807 | strum = { version = "0.27.2", features = ["derive"] } |
| 808 | +swash = "0.2.6" | |
| 801 | 809 | syn = { version = "2.0.101", features = ["full", "extra-traits", "visit-mut"] } |
| 802 | 810 | sys-locale = "0.3.1" |
| 803 | 811 | sysinfo = "0.37.0" |
| @@ -47,7 +47,7 @@ doctest = false · 46 unmodified lines | ||
| 47 | 47 | [dependencies] |
| 48 | 48 | accesskit.workspace = true |
| 49 | 49 | anyhow.workspace = true |
| 50 | −async-task = "4.7" | |
| 50 | +async-task.workspace = true | |
| 51 | 51 | backtrace = { workspace = true, optional = true } |
| 52 | 52 | bitflags.workspace = true |
| 53 | 53 | |
| @@ -55,7 +55,7 @@ collections.workspace = true · 1 unmodified line | ||
| 55 | 55 | criterion = { workspace = true, optional = true } |
| 56 | 56 | ctor.workspace = true |
| 57 | 57 | derive_more.workspace = true |
| 58 | −etagere = "0.2" | |
| 58 | +etagere.workspace = true | |
| 59 | 59 | futures.workspace = true |
| 60 | 60 | futures-concurrency.workspace = true |
| 61 | 61 | gpui_macros.workspace = true |
| @@ -111,17 +111,17 @@ uuid = { workspace = true, features = ["js"] } · 49 unmodified lines | ||
| 111 | 111 | |
| 112 | 112 | |
| 113 | 113 | [target.'cfg(target_os = "macos")'.dependencies] |
| 114 | −block = "0.1" | |
| 114 | +block.workspace = true | |
| 115 | 115 | cocoa.workspace = true |
| 116 | 116 | cocoa-foundation.workspace = true |
| 117 | 117 | core-foundation.workspace = true |
| 118 | 118 | core-foundation-sys.workspace = true |
| 119 | −core-graphics = "0.24" | |
| 119 | +core-graphics.workspace = true | |
| 120 | 120 | core-video.workspace = true |
| 121 | −core-text = "21" | |
| 121 | +core-text.workspace = true | |
| 122 | 122 | # WARNING: If you change this, you must also publish a new version of zed-font-kit to crates.io |
| 123 | 123 | font-kit = { git = "https://github.com/zed-industries/font-kit", rev = "94b0f28166665e8fd2f53ff6d268a14955c82269", package = "zed-font-kit", version = "0.14.1-zed", optional = true } |
| 124 | −foreign-types = "0.5" | |
| 124 | +foreign-types.workspace = true | |
| 125 | 125 | log.workspace = true |
| 126 | 126 | media.workspace = true |
| 127 | 127 | objc.workspace = true |
| @@ -132,7 +132,7 @@ mach2.workspace = true · 4 unmodified lines | ||
| 132 | 132 | metal.workspace = true |
| 133 | 133 | |
| 134 | 134 | [target.'cfg(any(target_os = "linux", target_os = "freebsd", target_os = "macos"))'.dependencies] |
| 135 | −pathfinder_geometry = "0.5" | |
| 135 | +pathfinder_geometry.workspace = true | |
| 136 | 136 | |
| 137 | 137 | [target.'cfg(any(target_os = "linux", target_os = "freebsd", target_os = "windows"))'.dependencies] |
| 138 | 138 | scap = { workspace = true, optional = true } |
| @@ -140,7 +140,7 @@ scap = { workspace = true, optional = true } · 1 unmodified line | ||
| 140 | 140 | |
| 141 | 141 | |
| 142 | 142 | [target.'cfg(target_os = "windows")'.dependencies] |
| 143 | −windows = { version = "0.61", features = ["Win32_Foundation", "Win32_System_Power"] } | |
| 143 | +windows = { workspace = true, features = ["Win32_Foundation", "Win32_System_Power"] } | |
| 144 | 144 | |
| 145 | 145 | |
| 146 | 146 | [dev-dependencies] |
| @@ -168,7 +168,7 @@ embed-resource = { version = "3.0", optional = true } · 21 unmodified lines | ||
| 168 | 168 | |
| 169 | 169 | [target.'cfg(target_os = "macos")'.build-dependencies] |
| 170 | 170 | bindgen = "0.71" |
| 171 | −cbindgen = { version = "0.28.0", default-features = false } | |
| 171 | +cbindgen.workspace = true | |
| 172 | 172 | |
| 173 | 173 | |
| 174 | 174 | |
| @@ -66,7 +66,7 @@ itertools.workspace = true · 65 unmodified lines | ||
| 66 | 66 | libc.workspace = true |
| 67 | 67 | log.workspace = true |
| 68 | 68 | parking_lot.workspace = true |
| 69 | −pathfinder_geometry = "0.5" | |
| 69 | +pathfinder_geometry.workspace = true | |
| 70 | 70 | pollster.workspace = true |
| 71 | 71 | profiling.workspace = true |
| 72 | 72 | smallvec.workspace = true |
| @@ -86,7 +86,7 @@ raw-window-handle.workspace = true · 13 unmodified lines | ||
| 86 | 86 | |
| 87 | 87 | # Used in both windowing options |
| 88 | 88 | ashpd = { workspace = true, optional = true } |
| 89 | −swash = { version = "0.2.6" } | |
| 89 | +swash.workspace = true | |
| 90 | 90 | bitflags = { workspace = true, optional = true } |
| 91 | 91 | filedescriptor = { version = "0.8.2", optional = true } |
| 92 | 92 | open = { version = "5.2.0", optional = true } |
| @@ -25,23 +25,23 @@ gpui.workspace = true · 24 unmodified lines | ||
| 25 | 25 | accesskit.workspace = true |
| 26 | 26 | accesskit_macos.workspace = true |
| 27 | 27 | anyhow.workspace = true |
| 28 | −async-task = "4.7" | |
| 29 | −block = "0.1" | |
| 28 | +async-task.workspace = true | |
| 29 | +block.workspace = true | |
| 30 | 30 | block2.workspace = true |
| 31 | 31 | cocoa.workspace = true |
| 32 | 32 | collections.workspace = true |
| 33 | 33 | core-foundation.workspace = true |
| 34 | 34 | core-foundation-sys.workspace = true |
| 35 | −core-graphics = "0.24" | |
| 36 | −core-text = "21" | |
| 35 | +core-graphics.workspace = true | |
| 36 | +core-text.workspace = true | |
| 37 | 37 | core-video.workspace = true |
| 38 | 38 | ctor.workspace = true |
| 39 | 39 | derive_more.workspace = true |
| 40 | 40 | dispatch2 = "0.3.1" |
| 41 | −etagere = "0.2" | |
| 41 | +etagere.workspace = true | |
| 42 | 42 | # WARNING: If you change this, you must also publish a new version of zed-font-kit to crates.io |
| 43 | 43 | font-kit = { git = "https://github.com/zed-industries/font-kit", rev = "94b0f28166665e8fd2f53ff6d268a14955c82269", package = "zed-font-kit", version = "0.14.1-zed", optional = true } |
| 44 | −foreign-types = "0.5" | |
| 44 | +foreign-types.workspace = true | |
| 45 | 45 | futures.workspace = true |
| 46 | 46 | gpui_util.workspace = true |
| 47 | 47 | image.workspace = true |
| @@ -57,7 +57,7 @@ objc2-app-kit.workspace = true · 9 unmodified lines | ||
| 57 | 57 | objc2-foundation.workspace = true |
| 58 | 58 | objc2-user-notifications.workspace = true |
| 59 | 59 | parking_lot.workspace = true |
| 60 | −pathfinder_geometry = "0.5" | |
| 60 | +pathfinder_geometry.workspace = true | |
| 61 | 61 | raw-window-handle.workspace = true |
| 62 | 62 | semver.workspace = true |
| 63 | 63 | smallvec.workspace = true |
| @@ -65,7 +65,7 @@ strum.workspace = true · 1 unmodified line | ||
| 65 | 65 | uuid.workspace = true |
| 66 | 66 | |
| 67 | 67 | [target.'cfg(target_os = "macos")'.build-dependencies] |
| 68 | −cbindgen = { version = "0.28.0", default-features = false } | |
| 68 | +cbindgen.workspace = true | |
| 69 | 69 | gpui.workspace = true |
| 70 | 70 | |
| 71 | 71 | # When this crate is itself being tested (cargo test -p gpui_macos), its own |
| @@ -21,14 +21,14 @@ anyhow.workspace = true · 20 unmodified lines | ||
| 21 | 21 | bytemuck = "1" |
| 22 | 22 | collections.workspace = true |
| 23 | 23 | cosmic-text = "0.19.0" |
| 24 | −etagere = "0.2" | |
| 24 | +etagere.workspace = true | |
| 25 | 25 | itertools.workspace = true |
| 26 | 26 | log.workspace = true |
| 27 | 27 | parking_lot.workspace = true |
| 28 | 28 | profiling.workspace = true |
| 29 | 29 | raw-window-handle.workspace = true |
| 30 | 30 | smallvec.workspace = true |
| 31 | −swash = "0.2.6" | |
| 31 | +swash.workspace = true | |
| 32 | 32 | unicode-segmentation.workspace = true |
| 33 | 33 | gpui_util.workspace = true |
| 34 | 34 | wgpu.workspace = true |
| @@ -25,7 +25,7 @@ accesskit_windows.workspace = true · 24 unmodified lines | ||
| 25 | 25 | anyhow.workspace = true |
| 26 | 26 | collections.workspace = true |
| 27 | 27 | dunce.workspace = true |
| 28 | −etagere = "0.2" | |
| 28 | +etagere.workspace = true | |
| 29 | 29 | futures.workspace = true |
| 30 | 30 | gpui_util.workspace = true |
| 31 | 31 | image.workspace = true |
| @@ -19,7 +19,7 @@ anyhow.workspace = true · 18 unmodified lines | ||
| 19 | 19 | [target.'cfg(target_os = "macos")'.dependencies] |
| 20 | 20 | core-foundation.workspace = true |
| 21 | 21 | ctor.workspace = true |
| 22 | −foreign-types = "0.5" | |
| 22 | +foreign-types.workspace = true | |
| 23 | 23 | metal.workspace = true |
| 24 | 24 | core-video.workspace = true |
| 25 | 25 | objc.workspace = true |