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", "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]] [[package]]
name = "gpui_macros" name = "gpui_macros"
version = "0.1.0" version = "0.1.0"
@ -5158,12 +5183,12 @@ dependencies = [
"chrono", "chrono",
"fake", "fake",
"gpui", "gpui",
"gpui-component",
"rand 0.8.5", "rand 0.8.5",
"regex", "regex",
"rust-embed", "rust-embed",
"serde", "serde",
"serde_json", "serde_json",
"ui",
"unindent", "unindent",
] ]
@ -5755,31 +5780,6 @@ dependencies = [
"winapi", "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]] [[package]]
name = "unicase" name = "unicase"
version = "2.8.0" version = "2.8.0"

View file

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

View file

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

View file

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