chore: Update crate name to gpui-component for publish crate to hold the name. (#603)

This commit is contained in:
Jason Lee 2025-02-06 11:57:34 +08:00 committed by GitHub
parent bc579c0b93
commit 99a4c793c5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 34 additions and 30 deletions

52
Cargo.lock generated
View file

@ -2360,6 +2360,31 @@ dependencies = [
"xkbcommon",
]
[[package]]
name = "gpui-component"
version = "0.1.0"
dependencies = [
"anyhow",
"chrono",
"gpui",
"image",
"itertools 0.13.0",
"once_cell",
"paste",
"regex",
"resvg",
"rust-embed",
"rust-i18n",
"serde",
"serde_json",
"smallvec",
"smol 1.3.0",
"unicode-segmentation",
"usvg",
"uuid",
"wry 0.48.1",
]
[[package]]
name = "gpui_macros"
version = "0.1.0"
@ -5158,12 +5183,12 @@ dependencies = [
"chrono",
"fake",
"gpui",
"gpui-component",
"rand 0.8.5",
"regex",
"rust-embed",
"serde",
"serde_json",
"ui",
"unindent",
]
@ -5755,31 +5780,6 @@ dependencies = [
"winapi",
]
[[package]]
name = "ui"
version = "0.1.0"
dependencies = [
"anyhow",
"chrono",
"gpui",
"image",
"itertools 0.13.0",
"once_cell",
"paste",
"regex",
"resvg",
"rust-embed",
"rust-i18n",
"serde",
"serde_json",
"smallvec",
"smol 1.3.0",
"unicode-segmentation",
"usvg",
"uuid",
"wry 0.48.1",
]
[[package]]
name = "unicase"
version = "2.8.0"

View file

@ -13,7 +13,7 @@ serde_json = "1"
smallvec = "1"
rust-embed = "8.5.0"
story = { path = "crates/story" }
ui = { path = "crates/ui" }
ui = { package = "gpui-component", path = "crates/ui" }
windows = { version = "0.58.0", features = [
"Wdk",
"Wdk_System",

View file

@ -2,6 +2,7 @@
name = "story"
version = "0.1.0"
edition = "2021"
publish = false
[dependencies]
ui.workspace = true

View file

@ -1,9 +1,12 @@
[package]
description = "UI components for the GPUI"
description = "UI components for building fantastic desktop application by using GPUI."
edition = "2021"
name = "ui"
publish = false
name = "gpui-component"
publish = true
version = "0.1.0"
homepage = "https://github.com/longbridge/gpui-component"
license-file = "LICENSE-APACHE"
keywords = ["ui", "desktop", "application", "GPUI"]
[lib]
doctest = false