gpui: Update dependency package names (#40143)

This moves some of the changes made in
https://github.com/zed-industries/zed/pull/39543 to the `publish_gpui`
script.

This PR also updates that script to use `gpui_` instead of `zed-` (where
possible)

Release Notes:

- N/A
This commit is contained in:
Mikayla Maki
2025-10-14 04:43:28 +00:00
committed by GitHub
parent 97f398e677
commit ee60d5855c
22 changed files with 1178 additions and 1033 deletions
+2 -2
View File
@@ -1,8 +1,8 @@
[package]
name = "zed-collections"
name = "collections"
version = "0.1.0"
edition.workspace = true
publish = true
publish = false
license = "Apache-2.0"
description = "Standard collection type re-exports used by Zed and GPUI"
+2 -2
View File
@@ -1,8 +1,8 @@
[package]
name = "gpui-macros"
name = "gpui_macros"
version = "0.1.0"
edition.workspace = true
publish = true
publish = false
license = "Apache-2.0"
description = "Macros used by gpui"
+2 -2
View File
@@ -1,8 +1,8 @@
[package]
name = "zed-http-client"
name = "http_client"
version = "0.1.0"
edition.workspace = true
publish = true
publish = false
license = "Apache-2.0"
description = "A HTTP client library for Zed and GPUI"
+2 -2
View File
@@ -1,8 +1,8 @@
[package]
name = "zed-media"
name = "media"
version = "0.1.0"
edition.workspace = true
publish = true
publish = false
license = "Apache-2.0"
description = "Bindings to macos media handling APIs for Zed"
+2 -2
View File
@@ -1,8 +1,8 @@
[package]
name = "zed-refineable"
name = "refineable"
version = "0.1.0"
edition.workspace = true
publish = true
publish = false
license = "Apache-2.0"
description = "A macro for creating 'refinement' types that can be used to partially initialize or mutate a complex struct"
@@ -1,8 +1,8 @@
[package]
name = "zed-derive-refineable"
name = "derive_refineable"
version = "0.1.0"
edition.workspace = true
publish = true
publish = false
license = "Apache-2.0"
description = "A derive macro for creating refinement types in Rust"
+2 -2
View File
@@ -1,8 +1,8 @@
[package]
name = "zed-semantic-version"
name = "semantic_version"
version = "0.1.0"
edition.workspace = true
publish = true
publish = false
license = "Apache-2.0"
description = "A library for working with semantic versioning in gpui and Zed"
+2 -2
View File
@@ -1,8 +1,8 @@
[package]
name = "zed-sum-tree"
name = "sum_tree"
version = "0.1.0"
edition.workspace = true
publish = true
publish = false
license = "Apache-2.0"
description = "A sum tree data structure, a concurrency-friendly B-tree"
+2 -2
View File
@@ -1,8 +1,8 @@
[package]
name = "zed-util"
name = "util"
version = "0.1.0"
edition.workspace = true
publish = true
publish = false
license = "Apache-2.0"
description = "A collection of utility structs and functions used by Zed and GPUI"
+2 -2
View File
@@ -558,7 +558,7 @@ impl PathWithPosition {
/// # Examples
///
/// ```
/// # use zed_util::paths::PathWithPosition;
/// # use util::paths::PathWithPosition;
/// # use std::path::PathBuf;
/// assert_eq!(PathWithPosition::parse_str("test_file"), PathWithPosition {
/// path: PathBuf::from("test_file"),
@@ -589,7 +589,7 @@ impl PathWithPosition {
///
/// # Expected parsing results when encounter ill-formatted inputs.
/// ```
/// # use zed_util::paths::PathWithPosition;
/// # use util::paths::PathWithPosition;
/// # use std::path::PathBuf;
/// assert_eq!(PathWithPosition::parse_str("test_file.rs:a"), PathWithPosition {
/// path: PathBuf::from("test_file.rs:a"),
+1 -1
View File
@@ -923,7 +923,7 @@ impl PartialOrd for NumericPrefixWithSuffix<'_> {
/// # Examples
///
/// ```
/// use zed_util::capitalize;
/// use util::capitalize;
///
/// assert_eq!(capitalize("hello"), "Hello");
/// assert_eq!(capitalize("WORLD"), "WORLD");
+2 -2
View File
@@ -1,8 +1,8 @@
[package]
name = "zed-util-macros"
name = "util_macros"
version = "0.1.0"
edition.workspace = true
publish = true
publish = false
license = "Apache-2.0"
description = "Utility macros for Zed"
+5 -5
View File
@@ -12,7 +12,7 @@ use syn::{ItemFn, LitStr, parse_macro_input, parse_quote};
///
/// # Example
/// ```rust
/// use zed_util_macros::path;
/// use util_macros::path;
///
/// let path = path!("/Users/user/file.txt");
/// #[cfg(target_os = "windows")]
@@ -43,7 +43,7 @@ pub fn path(input: TokenStream) -> TokenStream {
///
/// # Example
/// ```rust
/// use zed_util_macros::uri;
/// use util_macros::uri;
///
/// let uri = uri!("file:///path/to/file");
/// #[cfg(target_os = "windows")]
@@ -69,7 +69,7 @@ pub fn uri(input: TokenStream) -> TokenStream {
///
/// # Example
/// ```rust
/// use zed_util_macros::line_endings;
/// use util_macros::line_endings;
///
/// let text = line_endings!("Hello\nWorld");
/// #[cfg(target_os = "windows")]
@@ -156,7 +156,7 @@ impl PerfArgs {
///
/// # Examples
/// ```rust
/// use zed_util_macros::perf;
/// use util_macros::perf;
///
/// #[perf]
/// fn generic_test() {
@@ -172,7 +172,7 @@ impl PerfArgs {
/// This also works with `#[gpui::test]`s, though in most cases it shouldn't
/// be used with automatic iterations.
/// ```rust,ignore
/// use zed_util_macros::perf;
/// use util_macros::perf;
///
/// #[perf(iterations = 1, critical)]
/// #[gpui::test]