Skip to content

Commit 772f78d

Browse files
committed
Rename desktop crate to desktop-egui
1 parent b267bb9 commit 772f78d

File tree

9 files changed

+13
-11
lines changed

9 files changed

+13
-11
lines changed

Cargo.lock

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

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ members = [
2424
"crates/application",
2525
"crates/cli",
2626
"crates/db",
27-
"crates/desktop",
27+
"crates/desktop-egui",
2828
"crates/domain",
2929
"crates/infrastructure",
3030
"crates/json-boundary",
@@ -47,7 +47,7 @@ cawr-adapter = { path = "crates/adapter" }
4747
cawr-application = { path = "crates/application" }
4848
cawr-cli = { path = "crates/cli" }
4949
cawr-db = { path = "crates/db" }
50-
cawr-desktop = { path = "crates/desktop" }
50+
cawr-desktop-egui = { path = "crates/desktop-egui" }
5151
cawr-domain = { path = "crates/domain" }
5252
cawr-infrastructure = { path = "crates/infrastructure" }
5353
cawr-json-boundary = { path = "crates/json-boundary" }

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@ Currently there are these circles:
1616
- `infrastructure`
1717
- `cli`
1818
- `db`
19-
- `desktop`
19+
- `desktop-egui`
2020
- `web`
2121
- `web-app-api`
2222
- `web-app-seed`
23-
- `web-server`
23+
- `web-server-warp`
2424

2525
Depending on your system the amount and the name of circles could
2626
be different but the main **dependency rule** must be ensured:

crates/desktop/Cargo.toml renamed to crates/desktop-egui/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[package]
2-
name = "cawr-desktop"
2+
name = "cawr-desktop-egui"
33
version.workspace = true
44
edition.workspace = true
55
rust-version.workspace = true
File renamed without changes.
File renamed without changes.
File renamed without changes.

crates/infrastructure/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ publish = false
1111
cawr-adapter = "=0.0.0"
1212
cawr-cli = "=0.0.0"
1313
cawr-db = "=0.0.0"
14-
cawr-desktop = "=0.0.0"
14+
cawr-desktop-egui = "=0.0.0"
1515
cawr-web-server-warp = "=0.0.0"
1616

1717
# External dependencies

crates/infrastructure/src/desktop.rs

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
1-
use crate::storage::data_storage;
2-
use anyhow::Result;
31
use std::sync::Arc;
42

3+
use anyhow::Result;
4+
5+
use crate::storage::data_storage;
6+
57
pub fn run() -> Result<()> {
68
let db = Arc::new(data_storage(None));
7-
cawr_desktop::run(db)
9+
cawr_desktop_egui::run(db)
810
}

0 commit comments

Comments
 (0)