From 28d887cf5e9721fdb0cc81b01e83a24e98f7af99 Mon Sep 17 00:00:00 2001 From: Jason Lee Date: Wed, 16 Oct 2024 16:32:25 +0800 Subject: [PATCH] webview: Use Wry crate version. --- Cargo.lock | 7 ++++--- README.md | 18 +++++------------- crates/ui/Cargo.toml | 2 +- 3 files changed, 10 insertions(+), 17 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 38c5cb48..2b8d30dd 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2879,7 +2879,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e310b3a6b5907f99202fcdb4960ff45b93735d7c7d96b760fcff8db2dc0e103d" dependencies = [ "cfg-if", - "windows-targets 0.48.5", + "windows-targets 0.52.6", ] [[package]] @@ -6354,8 +6354,9 @@ dependencies = [ [[package]] name = "wry" -version = "0.46.0" -source = "git+https://github.com/huacnlee/wry.git?branch=add-blur-method#8c0d413f0ac9699351a9ed3c6023b1c903758501" +version = "0.46.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2f8c948dc5f7c23bd93ba03b85b7f679852589bb78e150424d993171e4ef7b73" dependencies = [ "base64", "block2", diff --git a/README.md b/README.md index 06590907..22c5dc3f 100644 --- a/README.md +++ b/README.md @@ -8,6 +8,7 @@ A UI components for building desktop application by using [GPUI](https://gpui.rs ## Features - [x] Theming +- [x] TitleBar - [ ] TextInput - [x] Ctrl+a, e to move cursor to start/end - [x] Copy, Cut, Paste by keyboard @@ -19,6 +20,7 @@ A UI components for building desktop application by using [GPUI](https://gpui.rs - [x] OtpInput - [x] Button - [x] Button with Icon + - [x] ButtonGroup - [x] IconButton - [x] Glost / Outline Button - [x] Loading @@ -26,33 +28,23 @@ A UI components for building desktop application by using [GPUI](https://gpui.rs - [x] Label - [x] Icon - [x] Checkbox - - [x] With label - [x] Radio - - [ ] RadioGroup - [x] Switch - - [x] With Label (Left, Right side) - - [x] Toggle Animation - [x] Dropdown - [x] Tabs - - [x] Tab - - [x] TabBar - [x] Notification - [x] Tooltip - [x] Popover - - [x] Floating Popover - - [x] Child window Popover - [x] Dockpanel - [x] Resizable -- [x] Progress - - [x] ProgressBar - - [x] Indicator +- [x] Progress & Indicator - [x] Slider - [x] Skeleton - [ ] DatePicker - [x] DatePicker + - [x] DateRangePicker - [x] Calendar - [ ] TimePicker - - [x] DateRangePicker - [x] ColorPicker - [x] List - [x] A complex List example. @@ -70,7 +62,7 @@ A UI components for building desktop application by using [GPUI](https://gpui.rs - [x] Drawer - [x] Modal - [x] Notification - - [ ] Collapsible Notifications +- [x] WebView ## Showcase diff --git a/crates/ui/Cargo.toml b/crates/ui/Cargo.toml index 5cf1b7cd..7f21052a 100644 --- a/crates/ui/Cargo.toml +++ b/crates/ui/Cargo.toml @@ -22,7 +22,7 @@ resvg = { version = "0.41.0", default-features = false } usvg = { version = "0.41.0", default-features = false } paste = "1" once_cell = "1.19.0" -wry = { git = "https://github.com/huacnlee/wry.git", branch = "add-blur-method" } +wry = "0.46.1" smol = "1" regex = "1" rust-i18n = "3"