From f16487a2cb70d962d82e8be117b5faad9e288995 Mon Sep 17 00:00:00 2001 From: Jason Lee Date: Fri, 17 Oct 2025 10:32:09 +0800 Subject: [PATCH] chore: Fix license link in crate meta. (#1393) Close #1392 --- Cargo.lock | 16 ++++++++-------- Cargo.toml | 2 +- crates/macros/Cargo.toml | 4 ++-- crates/macros/LICENSE-APACHE | 2 +- crates/reqwest_client/Cargo.toml | 2 +- crates/story/Cargo.toml | 2 +- crates/ui/Cargo.toml | 4 ++-- crates/ui/LICENSE-APACHE | 0 examples/app_assets/Cargo.toml | 2 +- examples/hello_world/Cargo.toml | 2 +- examples/input/Cargo.toml | 2 +- examples/window_title/Cargo.toml | 2 +- 12 files changed, 20 insertions(+), 20 deletions(-) mode change 100644 => 120000 crates/macros/LICENSE-APACHE mode change 100644 => 120000 crates/ui/LICENSE-APACHE diff --git a/Cargo.lock b/Cargo.lock index f9b1777f..76f1c8c2 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -94,7 +94,7 @@ checksum = "b0674a1ddeecb70197781e945de4b3b8ffb61fa939a5597bcf48503737663100" [[package]] name = "app_assets" -version = "0.2.0" +version = "0.3.0-test1" dependencies = [ "anyhow", "gpui", @@ -2910,7 +2910,7 @@ dependencies = [ [[package]] name = "gpui-component" -version = "0.2.0" +version = "0.3.0-test1" dependencies = [ "aho-corasick", "anyhow", @@ -2978,7 +2978,7 @@ dependencies = [ [[package]] name = "gpui-component-macros" -version = "0.2.0" +version = "0.3.0-test1" dependencies = [ "proc-macro2", "quote", @@ -3124,7 +3124,7 @@ checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea" [[package]] name = "hello_world" -version = "0.2.0" +version = "0.3.0-test1" dependencies = [ "anyhow", "gpui", @@ -3580,7 +3580,7 @@ dependencies = [ [[package]] name = "input" -version = "0.1.0" +version = "0.3.0-test1" dependencies = [ "anyhow", "gpui", @@ -5925,7 +5925,7 @@ dependencies = [ [[package]] name = "reqwest_client" -version = "0.2.0" +version = "0.3.0-test1" dependencies = [ "anyhow", "bytes", @@ -6904,7 +6904,7 @@ checksum = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f" [[package]] name = "story" -version = "0.2.0" +version = "0.3.0-test1" dependencies = [ "anyhow", "autocorrect", @@ -8819,7 +8819,7 @@ checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" [[package]] name = "window_title" -version = "0.2.0" +version = "0.3.0-test1" dependencies = [ "anyhow", "gpui", diff --git a/Cargo.toml b/Cargo.toml index b0fe102e..173e22e2 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -13,7 +13,7 @@ resolver = "2" [workspace.dependencies] gpui-component = { path = "crates/ui" } -gpui-component-macros = { path = "crates/macros", version = "0.2.0" } +gpui-component-macros = { path = "crates/macros", version = "0.3.0-test1" } story = { path = "crates/story" } gpui = "0.2.0" diff --git a/crates/macros/Cargo.toml b/crates/macros/Cargo.toml index 9a610acd..9a1d3033 100644 --- a/crates/macros/Cargo.toml +++ b/crates/macros/Cargo.toml @@ -2,9 +2,9 @@ edition = "2021" name = "gpui-component-macros" description = "Macros for GPUI Component." -version = "0.2.0" +version = "0.3.0-test1" publish = true -license-file = "LICENSE-APACHE" +license = "Apache-2.0" [lib] proc-macro = true diff --git a/crates/macros/LICENSE-APACHE b/crates/macros/LICENSE-APACHE deleted file mode 100644 index e5ee4a2d..00000000 --- a/crates/macros/LICENSE-APACHE +++ /dev/null @@ -1 +0,0 @@ -../../LICENSE-APACHE diff --git a/crates/macros/LICENSE-APACHE b/crates/macros/LICENSE-APACHE new file mode 120000 index 00000000..1cd601d0 --- /dev/null +++ b/crates/macros/LICENSE-APACHE @@ -0,0 +1 @@ +../../LICENSE-APACHE \ No newline at end of file diff --git a/crates/reqwest_client/Cargo.toml b/crates/reqwest_client/Cargo.toml index 3fc1e600..565f50d5 100644 --- a/crates/reqwest_client/Cargo.toml +++ b/crates/reqwest_client/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "reqwest_client" -version = "0.2.0" +version = "0.3.0-test1" publish = false license = "Apache-2.0" edition = "2024" diff --git a/crates/story/Cargo.toml b/crates/story/Cargo.toml index 4caf61b5..c5bae12f 100644 --- a/crates/story/Cargo.toml +++ b/crates/story/Cargo.toml @@ -2,7 +2,7 @@ name = "story" edition = "2024" publish = false -version = "0.2.0" +version = "0.3.0-test1" [dependencies] anyhow.workspace = true diff --git a/crates/ui/Cargo.toml b/crates/ui/Cargo.toml index 17a7d5c4..98702990 100644 --- a/crates/ui/Cargo.toml +++ b/crates/ui/Cargo.toml @@ -3,11 +3,11 @@ description = "UI components for building fantastic desktop application by using edition = "2021" homepage = "https://github.com/longbridge/gpui-component" keywords = ["desktop", "gpui", "shadcn", "ui", "uikit"] -license-file = "LICENSE-APACHE" +license = "Apache-2.0" name = "gpui-component" publish = true readme = "../../README.md" -version = "0.2.0" +version = "0.3.0-test1" [lib] doctest = false diff --git a/crates/ui/LICENSE-APACHE b/crates/ui/LICENSE-APACHE deleted file mode 100644 index 1cd601d0..00000000 --- a/crates/ui/LICENSE-APACHE +++ /dev/null @@ -1 +0,0 @@ -../../LICENSE-APACHE \ No newline at end of file diff --git a/crates/ui/LICENSE-APACHE b/crates/ui/LICENSE-APACHE new file mode 120000 index 00000000..1cd601d0 --- /dev/null +++ b/crates/ui/LICENSE-APACHE @@ -0,0 +1 @@ +../../LICENSE-APACHE \ No newline at end of file diff --git a/examples/app_assets/Cargo.toml b/examples/app_assets/Cargo.toml index f49ab66e..1fdfe888 100644 --- a/examples/app_assets/Cargo.toml +++ b/examples/app_assets/Cargo.toml @@ -3,7 +3,7 @@ edition = "2021" name = "app_assets" description = "Example to load icons or images from assets folder." publish = false -version = "0.2.0" +version = "0.3.0-test1" [dependencies] anyhow.workspace = true diff --git a/examples/hello_world/Cargo.toml b/examples/hello_world/Cargo.toml index aeab39fb..3b8cc371 100644 --- a/examples/hello_world/Cargo.toml +++ b/examples/hello_world/Cargo.toml @@ -3,7 +3,7 @@ edition = "2021" name = "hello_world" description = "A minimal example of application development with GPUI Component." publish = false -version = "0.2.0" +version = "0.3.0-test1" [dependencies] anyhow.workspace = true diff --git a/examples/input/Cargo.toml b/examples/input/Cargo.toml index 4f2d8c0b..4b097fb6 100644 --- a/examples/input/Cargo.toml +++ b/examples/input/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "input" -version = "0.1.0" +version = "0.3.0-test1" edition = "2024" [dependencies] diff --git a/examples/window_title/Cargo.toml b/examples/window_title/Cargo.toml index 6d80e2d4..f7033d59 100644 --- a/examples/window_title/Cargo.toml +++ b/examples/window_title/Cargo.toml @@ -3,7 +3,7 @@ edition = "2021" name = "window_title" description = "An example of using gpui-component to create a window with a custom title bar." publish = false -version = "0.2.0" +version = "0.3.0-test1" [dependencies] anyhow.workspace = true