Skip to content

Commit 43fa29e

Browse files
committed
chore(deps): centralize workspace dependency versions
Signed-off-by: Yordis Prieto <yordis.prieto@gmail.com>
1 parent 1c7989a commit 43fa29e

9 files changed

Lines changed: 139 additions & 79 deletions

File tree

.github/dependabot.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: cargo
4+
directory: /rsworkspace
5+
schedule:
6+
interval: monthly
7+
groups:
8+
rust-dependencies:
9+
patterns:
10+
- "*"
11+
12+
- package-ecosystem: github-actions
13+
directory: /
14+
schedule:
15+
interval: monthly
16+
groups:
17+
github-actions:
18+
patterns:
19+
- "*"

rsworkspace/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.

rsworkspace/Cargo.toml

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,47 @@ unexpected_cfgs = { level = "deny", check-cfg = ['cfg(coverage)'] }
99
[workspace.lints.clippy]
1010
all = "deny"
1111

12+
[workspace.dependencies]
13+
# Internal crates
14+
acp-nats = { path = "crates/acp-nats" }
15+
acp-telemetry = { path = "crates/acp-telemetry" }
16+
trogon-nats = { path = "crates/trogon-nats" }
17+
trogon-std = { path = "crates/trogon-std" }
18+
19+
# ACP
20+
agent-client-protocol = "=0.10.2"
21+
22+
# Async runtime & networking
23+
async-compat = "=0.2.5"
24+
async-nats = { version = "=0.46.0", default-features = false }
25+
async-trait = "=0.1.89"
26+
axum = { version = "=0.8.8", features = ["ws"] }
27+
bytes = "=1.11.0"
28+
futures = "=0.3.32"
29+
futures-util = "=0.3.32"
30+
tokio = "=1.50.0"
31+
tokio-tungstenite = "=0.29.0"
32+
tower-http = { version = "=0.6.8", features = ["trace"] }
33+
34+
# Serialization
35+
serde = { version = "=1.0.228", features = ["derive"] }
36+
serde_json = "=1.0.149"
37+
38+
# CLI
39+
clap = { version = "=4.6.0", features = ["derive"] }
40+
41+
# Observability
42+
opentelemetry = "=0.31.0"
43+
opentelemetry-appender-tracing = "=0.31.1"
44+
opentelemetry-otlp = "=0.31.1"
45+
opentelemetry_sdk = "=0.31.0"
46+
tracing = "=0.1.44"
47+
tracing-opentelemetry = "=0.32.1"
48+
tracing-subscriber = "=0.3.23"
49+
50+
# Misc
51+
uuid = { version = "=1.22.0", features = ["v4"] }
52+
1253
[profile.release]
1354
lto = "thin"
1455
strip = "symbols"

rsworkspace/crates/acp-nats-stdio/Cargo.toml

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -7,19 +7,19 @@ edition = "2024"
77
workspace = true
88

99
[dependencies]
10-
acp-nats = { path = "../acp-nats" }
11-
acp-telemetry = { path = "../acp-telemetry" }
12-
agent-client-protocol = "0.10.2"
13-
async-compat = "0.2.5"
14-
futures = "0.3"
15-
async-nats = { version = "0.46.0", default-features = false }
16-
clap = { version = "4.6", features = ["derive", "env"] }
17-
opentelemetry = "0.31.0"
18-
trogon-std = { path = "../trogon-std", features = ["clap"] }
19-
tokio = { version = "1.50.0", features = ["rt-multi-thread", "macros", "signal", "io-std"] }
20-
tracing = "0.1.44"
10+
acp-nats = { workspace = true }
11+
acp-telemetry = { workspace = true }
12+
agent-client-protocol = { workspace = true }
13+
async-compat = { workspace = true }
14+
async-nats = { workspace = true }
15+
clap = { workspace = true, features = ["env"] }
16+
futures = { workspace = true }
17+
opentelemetry = { workspace = true }
18+
tokio = { workspace = true, features = ["rt-multi-thread", "macros", "signal", "io-std"] }
19+
tracing = { workspace = true }
20+
trogon-std = { workspace = true, features = ["clap"] }
2121

2222
[dev-dependencies]
23-
trogon-nats = { path = "../trogon-nats", features = ["test-support"] }
24-
tracing-subscriber = { version = "0.3.23", features = ["fmt"] }
25-
trogon-std = { path = "../trogon-std", features = ["test-support"] }
23+
tracing-subscriber = { workspace = true, features = ["fmt"] }
24+
trogon-nats = { workspace = true, features = ["test-support"] }
25+
trogon-std = { workspace = true, features = ["test-support"] }

rsworkspace/crates/acp-nats-ws/Cargo.toml

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -7,24 +7,24 @@ edition = "2024"
77
workspace = true
88

99
[dependencies]
10-
acp-nats = { path = "../acp-nats" }
11-
acp-telemetry = { path = "../acp-telemetry" }
12-
agent-client-protocol = "0.10.2"
13-
async-compat = "0.2.5"
14-
async-nats = { version = "0.46.0", default-features = false }
15-
axum = { version = "0.8.8", features = ["ws"] }
16-
bytes = "1"
17-
clap = { version = "4.6", features = ["derive", "env"] }
18-
futures-util = { version = "0.3", features = ["sink"] }
19-
opentelemetry = "0.31.0"
20-
tokio = { version = "1.50.0", features = ["rt-multi-thread", "macros", "signal", "net", "sync", "io-util"] }
21-
tower-http = { version = "0.6.8", features = ["trace"] }
22-
tracing = "0.1.44"
23-
trogon-std = { path = "../trogon-std" }
10+
acp-nats = { workspace = true }
11+
acp-telemetry = { workspace = true }
12+
agent-client-protocol = { workspace = true }
13+
async-compat = { workspace = true }
14+
async-nats = { workspace = true }
15+
axum = { workspace = true }
16+
bytes = { workspace = true }
17+
clap = { workspace = true, features = ["env"] }
18+
futures-util = { workspace = true, features = ["sink"] }
19+
opentelemetry = { workspace = true }
20+
tokio = { workspace = true, features = ["rt-multi-thread", "macros", "signal", "net", "sync", "io-util"] }
21+
tower-http = { workspace = true }
22+
tracing = { workspace = true }
23+
trogon-std = { workspace = true }
2424

2525
[dev-dependencies]
26-
serde_json = "1.0.149"
27-
tokio-tungstenite = "0.29.0"
28-
tracing-subscriber = { version = "0.3.23", features = ["fmt"] }
29-
trogon-nats = { path = "../trogon-nats", features = ["test-support"] }
30-
trogon-std = { path = "../trogon-std", features = ["test-support"] }
26+
serde_json = { workspace = true }
27+
tokio-tungstenite = { workspace = true }
28+
tracing-subscriber = { workspace = true, features = ["fmt"] }
29+
trogon-nats = { workspace = true, features = ["test-support"] }
30+
trogon-std = { workspace = true, features = ["test-support"] }

rsworkspace/crates/acp-nats/Cargo.toml

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ edition = "2024"
77
workspace = true
88

99
[dependencies]
10-
agent-client-protocol = { version = "0.10.2", features = [
10+
agent-client-protocol = { workspace = true, features = [
1111
"unstable_auth_methods",
1212
"unstable_boolean_config",
1313
"unstable_cancel_request",
@@ -18,23 +18,23 @@ agent-client-protocol = { version = "0.10.2", features = [
1818
"unstable_session_resume",
1919
"unstable_session_usage",
2020
] }
21-
opentelemetry = "0.31.0"
22-
async-nats = { version = "0.46.0", default-features = false }
23-
async-trait = "0.1.89"
24-
bytes = "1.11"
25-
futures = "0.3"
26-
serde = { version = "1.0.228", features = ["derive"] }
27-
serde_json = "1.0.149"
28-
tokio = { version = "1.50.0", features = ["rt", "macros", "sync", "time"] }
29-
tracing = "0.1.44"
30-
uuid = { version = "1", features = ["v4"] }
21+
opentelemetry = { workspace = true }
22+
async-nats = { workspace = true }
23+
async-trait = { workspace = true }
24+
bytes = { workspace = true }
25+
futures = { workspace = true }
26+
serde = { workspace = true }
27+
serde_json = { workspace = true }
28+
tokio = { workspace = true, features = ["rt", "macros", "sync", "time"] }
29+
tracing = { workspace = true }
30+
uuid = { workspace = true }
3131

32-
trogon-nats = { path = "../trogon-nats" }
33-
trogon-std = { path = "../trogon-std" }
32+
trogon-nats = { workspace = true }
33+
trogon-std = { workspace = true }
3434

3535
[dev-dependencies]
36-
opentelemetry_sdk = { version = "0.31.0", features = ["rt-tokio", "metrics", "testing"] }
37-
tokio = { version = "1.50.0", features = ["test-util"] }
38-
tracing-subscriber = { version = "0.3.23", features = ["fmt"] }
39-
trogon-nats = { path = "../trogon-nats", features = ["test-support"] }
40-
trogon-std = { path = "../trogon-std", features = ["test-support"] }
36+
opentelemetry_sdk = { workspace = true, features = ["rt-tokio", "metrics", "testing"] }
37+
tokio = { workspace = true, features = ["test-util"] }
38+
tracing-subscriber = { workspace = true, features = ["fmt"] }
39+
trogon-nats = { workspace = true, features = ["test-support"] }
40+
trogon-std = { workspace = true, features = ["test-support"] }

rsworkspace/crates/acp-telemetry/Cargo.toml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,16 @@ edition = "2024"
77
workspace = true
88

99
[dependencies]
10-
opentelemetry = "0.31.0"
11-
opentelemetry-appender-tracing = "0.31.1"
12-
opentelemetry-otlp = { version = "0.31.1", features = ["http-json", "logs", "metrics", "reqwest-rustls"] }
13-
opentelemetry_sdk = { version = "0.31.0", features = ["rt-tokio", "logs", "metrics"] }
14-
tokio = { version = "1.50.0", features = ["signal"] }
15-
tracing = "0.1.44"
16-
tracing-opentelemetry = "0.32.1"
17-
tracing-subscriber = { version = "0.3.23", features = ["env-filter", "fmt", "json"] }
18-
trogon-std = { path = "../trogon-std" }
10+
opentelemetry = { workspace = true }
11+
opentelemetry-appender-tracing = { workspace = true }
12+
opentelemetry-otlp = { workspace = true, features = ["http-json", "logs", "metrics", "reqwest-rustls"] }
13+
opentelemetry_sdk = { workspace = true, features = ["rt-tokio", "logs", "metrics"] }
14+
tokio = { workspace = true, features = ["signal"] }
15+
tracing = { workspace = true }
16+
tracing-opentelemetry = { workspace = true }
17+
tracing-subscriber = { workspace = true, features = ["env-filter", "fmt", "json"] }
18+
trogon-std = { workspace = true }
1919

2020
[dev-dependencies]
21-
tokio = { version = "1.50.0", features = ["rt", "macros", "signal", "time"] }
22-
trogon-std = { path = "../trogon-std", features = ["test-support"] }
21+
tokio = { workspace = true, features = ["rt", "macros", "signal", "time"] }
22+
trogon-std = { workspace = true, features = ["test-support"] }

rsworkspace/crates/trogon-nats/Cargo.toml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -7,20 +7,20 @@ edition = "2024"
77
workspace = true
88

99
[dependencies]
10-
async-nats = { version = "0.46.0", default-features = false, features = ["ring", "nkeys"] }
11-
bytes = "1"
12-
futures = "0.3.32"
13-
opentelemetry = "0.31.0"
14-
serde = { version = "1.0.228", features = ["derive"] }
15-
serde_json = "1.0.149"
16-
tokio = { version = "1.50.0", features = ["time"] }
17-
tracing = "0.1.44"
18-
tracing-opentelemetry = "0.32.1"
19-
trogon-std = { path = "../trogon-std" }
10+
async-nats = { workspace = true, features = ["ring", "nkeys"] }
11+
bytes = { workspace = true }
12+
futures = { workspace = true }
13+
opentelemetry = { workspace = true }
14+
serde = { workspace = true }
15+
serde_json = { workspace = true }
16+
tokio = { workspace = true, features = ["time"] }
17+
tracing = { workspace = true }
18+
tracing-opentelemetry = { workspace = true }
19+
trogon-std = { workspace = true }
2020

2121
[dev-dependencies]
22-
tokio = { version = "1.50.0", features = ["macros", "rt-multi-thread"] }
23-
trogon-std = { path = "../trogon-std", features = ["test-support"] }
22+
tokio = { workspace = true, features = ["macros", "rt-multi-thread"] }
23+
trogon-std = { workspace = true, features = ["test-support"] }
2424

2525
[features]
2626
default = []

rsworkspace/crates/trogon-std/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ test-support = []
1111
clap = ["dep:clap"]
1212

1313
[dependencies]
14-
clap = { version = "4.6", features = ["derive"], optional = true }
15-
serde = { version = "1.0", features = ["derive"] }
16-
serde_json = "1.0"
14+
clap = { workspace = true, optional = true }
15+
serde = { workspace = true }
16+
serde_json = { workspace = true }
1717

1818
[dev-dependencies]

0 commit comments

Comments
 (0)