Skip to content

Commit 49bc97f

Browse files
committed
feat: migrate UI framework from iced to gpui
1 parent d89f9d7 commit 49bc97f

18 files changed

Lines changed: 8825 additions & 6443 deletions

Cargo.lock

Lines changed: 3462 additions & 1531 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -5,21 +5,10 @@ edition = "2024"
55
description = "Unbounded package management"
66
license = "MIT"
77

8-
[features]
9-
debug = ["iced/hot"]
10-
118
[dependencies]
129
async-trait = "0.1.89"
1310
env_logger = "0.11.8"
14-
iced = { version = "0.14.0", default-features = false, features = [
15-
"lazy",
16-
"linux-theme-detection",
17-
"tiny-skia",
18-
"tokio",
19-
"wayland",
20-
"wgpu",
21-
"x11",
22-
] }
11+
gpui = "0.2"
2312
log = "0.4.29"
2413
rfd = "0.15"
2514
serde = { version = "1.0.228", features = ["derive"] }
@@ -31,7 +20,8 @@ soar-events = { git = "https://github.com/pkgforge/soar" }
3120
soar-operations = { git = "https://github.com/pkgforge/soar" }
3221
soar-utils = { git = "https://github.com/pkgforge/soar" }
3322
thiserror = "2.0.18"
34-
tokio = { version = "1.49.0", features = ["sync", "fs"] }
23+
tokio = { version = "1.49.0", features = ["sync", "fs", "rt-multi-thread"] }
24+
unicode-segmentation = "1.12"
3525
toml = "1.0.1"
3626
toml_edit = "0.25.1"
3727
shellexpand = "3.0"

flake.nix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
{
2020
devShells.default = pkgs.mkShell rec {
2121
buildInputs = with pkgs; [
22+
wget
2223
libxkbcommon
2324
libX11
2425
libxcb

src/adapters/soar.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1144,6 +1144,8 @@ impl Adapter for SoarAdapter {
11441144
ConfigValue::String(s) => {
11451145
if s.trim().is_empty() {
11461146
doc.remove(key.as_str());
1147+
} else if let Ok(n) = s.trim().parse::<i64>() {
1148+
doc[key.as_str()] = toml_edit::value(n);
11471149
} else {
11481150
doc[key.as_str()] = toml_edit::value(s.as_str());
11491151
}

0 commit comments

Comments
 (0)