refactor: nest trx-frontend under trx-client, trx-backend under trx-server
Move the frontend and backend crate trees to live physically under their respective binary crate directories, grouping related code together without merging crate boundaries. Also flatten sub-crate nesting by moving them out of src/ subdirectories into direct children. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -18,11 +18,11 @@ clap = { workspace = true, features = ["derive"] }
|
||||
dirs = "6"
|
||||
libloading = "0.8"
|
||||
trx-core = { path = "../trx-core" }
|
||||
trx-frontend = { path = "../trx-frontend" }
|
||||
trx-frontend-http = { path = "../trx-frontend/src/trx-frontend-http" }
|
||||
trx-frontend-http-json = { path = "../trx-frontend/src/trx-frontend-http-json" }
|
||||
trx-frontend-rigctl = { path = "../trx-frontend/src/trx-frontend-rigctl" }
|
||||
trx-frontend-qt = { path = "../trx-frontend/src/trx-frontend-qt", optional = true }
|
||||
trx-frontend = { path = "trx-frontend" }
|
||||
trx-frontend-http = { path = "trx-frontend/trx-frontend-http" }
|
||||
trx-frontend-http-json = { path = "trx-frontend/trx-frontend-http-json" }
|
||||
trx-frontend-rigctl = { path = "trx-frontend/trx-frontend-rigctl" }
|
||||
trx-frontend-qt = { path = "trx-frontend/trx-frontend-qt", optional = true }
|
||||
|
||||
[features]
|
||||
default = []
|
||||
|
||||
@@ -8,5 +8,5 @@ version = "0.1.0"
|
||||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
trx-core = { path = "../trx-core" }
|
||||
trx-core = { path = "../../trx-core" }
|
||||
tokio = { workspace = true, features = ["sync"] }
|
||||
+1
-1
@@ -9,7 +9,7 @@ edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
trx-core = { path = "../../../trx-core" }
|
||||
trx-frontend = { path = "../.." }
|
||||
trx-frontend = { path = ".." }
|
||||
tokio = { workspace = true, features = ["full"] }
|
||||
serde_json = { workspace = true }
|
||||
tracing = { workspace = true }
|
||||
+1
-1
@@ -9,7 +9,7 @@ edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
trx-core = { path = "../../../trx-core" }
|
||||
trx-frontend = { path = "../.." }
|
||||
trx-frontend = { path = ".." }
|
||||
tokio = { workspace = true, features = ["full"] }
|
||||
serde = { workspace = true, features = ["derive"] }
|
||||
serde_json = { workspace = true }
|
||||
|
Before Width: | Height: | Size: 1.5 MiB After Width: | Height: | Size: 1.5 MiB |
|
Before Width: | Height: | Size: 1.5 MiB After Width: | Height: | Size: 1.5 MiB |
+1
-1
@@ -16,7 +16,7 @@ qt = ["dep:qmetaobject"]
|
||||
|
||||
[dependencies]
|
||||
trx-core = { path = "../../../trx-core" }
|
||||
trx-frontend = { path = "../.." }
|
||||
trx-frontend = { path = ".." }
|
||||
tokio = { workspace = true, features = ["full"] }
|
||||
tracing = { workspace = true }
|
||||
|
||||
+1
-1
@@ -11,4 +11,4 @@ edition = "2021"
|
||||
tokio = { workspace = true, features = ["full"] }
|
||||
tracing = { workspace = true }
|
||||
trx-core = { path = "../../../trx-core" }
|
||||
trx-frontend = { path = "../.." }
|
||||
trx-frontend = { path = ".." }
|
||||
@@ -17,5 +17,5 @@ tracing-subscriber = { workspace = true }
|
||||
clap = { workspace = true, features = ["derive"] }
|
||||
dirs = "6"
|
||||
libloading = "0.8"
|
||||
trx-backend = { path = "../trx-backend" }
|
||||
trx-backend = { path = "trx-backend" }
|
||||
trx-core = { path = "../trx-core" }
|
||||
|
||||
@@ -12,8 +12,8 @@ default = ["ft817"]
|
||||
ft817 = ["dep:trx-backend-ft817"]
|
||||
|
||||
[dependencies]
|
||||
trx-core = { path = "../trx-core" }
|
||||
trx-backend-ft817 = { path = "src/trx-backend-ft817", optional = true }
|
||||
trx-core = { path = "../../trx-core" }
|
||||
trx-backend-ft817 = { path = "trx-backend-ft817", optional = true }
|
||||
tokio = { workspace = true, features = ["full"] }
|
||||
tokio-serial = { workspace = true }
|
||||
serde = { workspace = true, features = ["derive"] }
|
||||
Reference in New Issue
Block a user