From 8962d69acd56964bebca79b5f042df719c9e5f9b Mon Sep 17 00:00:00 2001 From: Adoo Date: Fri, 25 Oct 2024 12:20:08 +0800 Subject: [PATCH] =?UTF-8?q?build(ribir):=20=F0=9F=A4=96=20corrected=20the?= =?UTF-8?q?=20alpha=20version=20release=20failure=20due=20to=20the=20exist?= =?UTF-8?q?ing=20version?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Cargo.toml | 2 +- cli/Cargo.toml | 2 +- core/Cargo.toml | 8 ++++---- core/src/builtin_widgets/theme/icon_theme.rs | 2 +- core/src/builtin_widgets/theme/miss_icon.svg | 1 + dev-helper/Cargo.toml | 6 +++--- gpu/Cargo.toml | 6 +++--- macros/Cargo.toml | 2 +- painter/Cargo.toml | 4 ++-- ribir/Cargo.toml | 10 +++++----- themes/material/Cargo.toml | 4 ++-- widgets/Cargo.toml | 4 ++-- 12 files changed, 26 insertions(+), 25 deletions(-) create mode 100644 core/src/builtin_widgets/theme/miss_icon.svg diff --git a/Cargo.toml b/Cargo.toml index 1c85bd472..55e731b45 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -35,7 +35,7 @@ homepage = "https://ribir.org" keywords = ["gui", "ui", "declarative", "compose-ui"] license = "MIT" readme = "README.md" -version = "0.4.0-alpha.12" +version = "0.4.0-alpha.13" rust-version = "1.81.0" [workspace.dependencies] diff --git a/cli/Cargo.toml b/cli/Cargo.toml index 1dff8278f..044b472da 100644 --- a/cli/Cargo.toml +++ b/cli/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cli" -version = "0.4.0-alpha.12" +version = "0.4.0-alpha.13" edition = "2021" publish = false diff --git a/core/Cargo.toml b/core/Cargo.toml index 0598a845c..10d027be3 100644 --- a/core/Cargo.toml +++ b/core/Cargo.toml @@ -23,10 +23,10 @@ lyon_geom.workspace = true paste.workspace = true triomphe.workspace = true pin-project-lite.workspace = true -ribir_algo = {path = "../algo", version = "0.4.0-alpha.12" } -ribir_geom = {path = "../geom", version = "0.4.0-alpha.12" } -ribir_macros = {path = "../macros", version = "0.4.0-alpha.12" } -ribir_painter = {path = "../painter", version = "0.4.0-alpha.12" } +ribir_algo = {path = "../algo", version = "0.4.0-alpha.13" } +ribir_geom = {path = "../geom", version = "0.4.0-alpha.13" } +ribir_macros = {path = "../macros", version = "0.4.0-alpha.13" } +ribir_painter = {path = "../painter", version = "0.4.0-alpha.13" } rxrust.workspace = true smallvec.workspace = true winit.workspace = true diff --git a/core/src/builtin_widgets/theme/icon_theme.rs b/core/src/builtin_widgets/theme/icon_theme.rs index 7f3f2f264..a78426606 100644 --- a/core/src/builtin_widgets/theme/icon_theme.rs +++ b/core/src/builtin_widgets/theme/icon_theme.rs @@ -68,7 +68,7 @@ impl Compose for NamedSvg { impl IconTheme { pub fn new(icon_size: IconSize) -> Self { - let svg = include_crate_svg!("../themes/ribir_slim/icons/miss_icon.svg"); + let svg = include_crate_svg!("src/builtin_widgets/theme/miss_icon.svg"); let miss_icon = Resource::new(svg); let mut icons = HashMap::<_, _, ahash::RandomState>::default(); icons.insert(MISS_ICON, miss_icon); diff --git a/core/src/builtin_widgets/theme/miss_icon.svg b/core/src/builtin_widgets/theme/miss_icon.svg new file mode 100644 index 000000000..c5921de0b --- /dev/null +++ b/core/src/builtin_widgets/theme/miss_icon.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/dev-helper/Cargo.toml b/dev-helper/Cargo.toml index fcea99fef..3d1b3b94c 100644 --- a/dev-helper/Cargo.toml +++ b/dev-helper/Cargo.toml @@ -15,9 +15,9 @@ version.workspace = true [dependencies] futures.workspace = true -ribir_geom = {path = "../geom", version = "0.4.0-alpha.12" } -ribir_gpu = {path = "../gpu", version = "0.4.0-alpha.12" } -ribir_painter = {path = "../painter", features = ["png"], version = "0.4.0-alpha.12" } +ribir_geom = {path = "../geom", version = "0.4.0-alpha.13" } +ribir_gpu = {path = "../gpu", version = "0.4.0-alpha.13" } +ribir_painter = {path = "../painter", features = ["png"], version = "0.4.0-alpha.13" } image.workspace = true dssim-core.workspace = true diff --git a/gpu/Cargo.toml b/gpu/Cargo.toml index f62c2c1d2..8e270e00e 100644 --- a/gpu/Cargo.toml +++ b/gpu/Cargo.toml @@ -18,9 +18,9 @@ futures = {workspace = true, optional = true} guillotiere.workspace = true log.workspace = true rayon.workspace = true -ribir_algo = {path = "../algo", version = "0.4.0-alpha.12" } -ribir_geom = {path = "../geom", version = "0.4.0-alpha.12" } -ribir_painter = {path = "../painter", features = ["tessellation"], version = "0.4.0-alpha.12" } +ribir_algo = {path = "../algo", version = "0.4.0-alpha.13" } +ribir_geom = {path = "../geom", version = "0.4.0-alpha.13" } +ribir_painter = {path = "../painter", features = ["tessellation"], version = "0.4.0-alpha.13" } slab = "0.4.9" wgpu = {workspace = true, optional = true} zerocopy = {workspace=true, features = ["derive"]} diff --git a/macros/Cargo.toml b/macros/Cargo.toml index f4c498a2a..815b91dc3 100644 --- a/macros/Cargo.toml +++ b/macros/Cargo.toml @@ -20,7 +20,7 @@ ahash.workspace = true bitflags.workspace = true proc-macro2.workspace = true quote.workspace = true -ribir_painter = {path = "../painter", version = "0.4.0-alpha.12" } +ribir_painter = {path = "../painter", version = "0.4.0-alpha.13" } smallvec = { workspace = true, features= ["drain_filter"] } syn = { workspace = true, features = ["fold", "full", "extra-traits"]} phf = { workspace = true, features = ["macros"] } diff --git a/painter/Cargo.toml b/painter/Cargo.toml index fc9a29f59..681675d2c 100644 --- a/painter/Cargo.toml +++ b/painter/Cargo.toml @@ -20,8 +20,8 @@ lyon_algorithms = {version = "1.0.3", features = ["serialization"]} lyon_tessellation = {version = "1.0.3", features = ["serialization"], optional = true} material-color-utilities-rs = {workspace = true} rctree.workspace = true -ribir_algo = {path = "../algo", version = "0.4.0-alpha.12" } -ribir_geom = {path = "../geom", version = "0.4.0-alpha.12" } +ribir_algo = {path = "../algo", version = "0.4.0-alpha.13" } +ribir_geom = {path = "../geom", version = "0.4.0-alpha.13" } serde = {version = "1.0", features = ["derive"]} serde_json.workspace = true tiny-skia-path = {workspace = true} diff --git a/ribir/Cargo.toml b/ribir/Cargo.toml index 38e094d6c..794b694e9 100644 --- a/ribir/Cargo.toml +++ b/ribir/Cargo.toml @@ -13,11 +13,11 @@ repository = "https://github.com/RibirX/Ribir/ribir" version.workspace = true [dependencies] -ribir_algo = { path = "../algo", version = "0.4.0-alpha.12" } -ribir_core = { path = "../core", version = "0.4.0-alpha.12" } -ribir_gpu = { path = "../gpu", version = "0.4.0-alpha.12" } -ribir_material = { path = "../themes/material", version = "0.4.0-alpha.12", optional = true } -ribir_widgets = { path = "../widgets", version = "0.4.0-alpha.12", optional = true } +ribir_algo = { path = "../algo", version = "0.4.0-alpha.13" } +ribir_core = { path = "../core", version = "0.4.0-alpha.13" } +ribir_gpu = { path = "../gpu", version = "0.4.0-alpha.13" } +ribir_material = { path = "../themes/material", version = "0.4.0-alpha.13", optional = true } +ribir_widgets = { path = "../widgets", version = "0.4.0-alpha.13", optional = true } rxrust.workspace = true wgpu = { workspace = true, optional = true } winit.workspace = true diff --git a/themes/material/Cargo.toml b/themes/material/Cargo.toml index af5c81fcc..da59bf38a 100644 --- a/themes/material/Cargo.toml +++ b/themes/material/Cargo.toml @@ -13,5 +13,5 @@ repository = "https://github.com/RibirX/Ribir/themes/material" version.workspace = true [dependencies] -ribir_core = {path = "../../core", version = "0.4.0-alpha.12" } -ribir_widgets = {path = "../../widgets", version = "0.4.0-alpha.12" } +ribir_core = {path = "../../core", version = "0.4.0-alpha.13" } +ribir_widgets = {path = "../../widgets", version = "0.4.0-alpha.13" } diff --git a/widgets/Cargo.toml b/widgets/Cargo.toml index 21305e2b6..d5b3fe919 100644 --- a/widgets/Cargo.toml +++ b/widgets/Cargo.toml @@ -17,8 +17,8 @@ version.workspace = true [dependencies] lyon_algorithms.workspace = true lyon_path.workspace = true -ribir_core = {path = "../core", version = "0.4.0-alpha.12" } -ribir_geom = {path = "../geom", version = "0.4.0-alpha.12" } +ribir_core = {path = "../core", version = "0.4.0-alpha.13" } +ribir_geom = {path = "../geom", version = "0.4.0-alpha.13" } webbrowser.workspace = true [dev-dependencies]