Skip to content

Commit 4686301

Browse files
author
Mohammod Al Amin Ashik
committed
refactor: simplify versioning - only mcpmux has managed version
- mcpmux gets explicit version (0.0.2) - Internal crates use path-only workspace deps (no version specs) - release-plz only needs to bump mcpmux version
1 parent b3495b6 commit 4686301

5 files changed

Lines changed: 15 additions & 15 deletions

File tree

Cargo.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -72,11 +72,11 @@ reqwest = { version = "0.12", features = ["json", "rustls-tls"] }
7272
axum = { version = "0.8", features = ["macros"] }
7373
http-body-util = "0.1"
7474

75-
# Internal crates
76-
mcpmux-core = { version = "0.0.2", path = "crates/mcpmux-core" }
77-
mcpmux-gateway = { version = "0.0.2", path = "crates/mcpmux-gateway" }
78-
mcpmux-mcp = { version = "0.0.2", path = "crates/mcpmux-mcp" }
79-
mcpmux-storage = { version = "0.0.2", path = "crates/mcpmux-storage" }
75+
# Internal crates (path-only for workspace)
76+
mcpmux-core = { path = "crates/mcpmux-core" }
77+
mcpmux-gateway = { path = "crates/mcpmux-gateway" }
78+
mcpmux-mcp = { path = "crates/mcpmux-mcp" }
79+
mcpmux-storage = { path = "crates/mcpmux-storage" }
8080

8181
[profile.release]
8282
lto = true

apps/desktop/src-tauri/Cargo.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "mcpmux"
3-
version.workspace = true
3+
version = "0.0.2"
44
edition.workspace = true
55
publish = false
66
description = "McpMux - Centralized MCP Server Management"
@@ -41,8 +41,8 @@ dotenvy.workspace = true
4141
notify = { version = "7", default-features = false, features = ["macos_fsevent"] }
4242
notify-debouncer-mini = "0.5"
4343

44-
# Internal crates
45-
mcpmux-core = { version = "0.0.2", path = "../../../crates/mcpmux-core" }
46-
mcpmux-gateway = { version = "0.0.2", path = "../../../crates/mcpmux-gateway" }
47-
mcpmux-storage = { version = "0.0.2", path = "../../../crates/mcpmux-storage" }
44+
# Internal crates (path-only, no version needed)
45+
mcpmux-core.workspace = true
46+
mcpmux-gateway.workspace = true
47+
mcpmux-storage.workspace = true
4848

crates/mcpmux-gateway/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,9 @@ rmcp.workspace = true
5959
# OAuth
6060
oauth2 = "5"
6161

62-
# Internal crates
63-
mcpmux-core = { version = "0.0.2", path = "../mcpmux-core" }
64-
mcpmux-storage = { version = "0.0.2", path = "../mcpmux-storage" }
62+
# Internal crates (path-only, no version needed)
63+
mcpmux-core.workspace = true
64+
mcpmux-storage.workspace = true
6565

6666
[dev-dependencies]
6767
tokio = { workspace = true, features = ["test-util", "macros"] }

crates/mcpmux-mcp/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ publish = false
77
description = "MCP protocol implementation and client management"
88

99
[dependencies]
10-
mcpmux-core = { version = "0.0.2", path = "../mcpmux-core" }
10+
mcpmux-core.workspace = true
1111
rmcp.workspace = true
1212

1313
serde.workspace = true

crates/mcpmux-storage/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ publish = false
77
description = "SQLite storage with encryption for McpMux"
88

99
[dependencies]
10-
mcpmux-core = { version = "0.0.2", path = "../mcpmux-core" }
10+
mcpmux-core.workspace = true
1111

1212
serde.workspace = true
1313
serde_json.workspace = true

0 commit comments

Comments
 (0)