Skip to content

Commit 8520858

Browse files
chore: migrate to workspace-level dependency declarations (vllm-project#43)
## Summary - Adds `[workspace.dependencies]` to root `Cargo.toml` and switches all three crates to `dep.workspace = true` - This is the non-reverted portion of vllm-project#35 — dependency centralisation only, no module moves - No behavioral changes; all code stays where it is ## Test plan - [x] `cargo build` — clean - [x] `cargo test` — all pass - [x] `cargo clippy --all-targets -- -D warnings` — clean - [x] `cargo fmt -- --check` — clean - [x] `pre-commit run --all-files` — all hooks pass 🤖 Generated with [Claude Code](https://claude.com/claude-code) Signed-off-by: Francisco Javier Arceo <farceo@redhat.com> Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
1 parent c326ac6 commit 8520858

5 files changed

Lines changed: 44 additions & 127 deletions

File tree

‎Cargo.lock‎

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

‎Cargo.toml‎

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,20 @@ unsafe_code = "forbid"
1414
[workspace.lints.clippy]
1515
all = { level = "deny", priority = -1 }
1616
pedantic = { level = "warn", priority = -1 }
17+
18+
[workspace.dependencies]
19+
agentic-core = { path = "crates/agentic-core" }
20+
axum = "0.8"
21+
bytes = "1"
22+
clap = { version = "4", features = ["derive", "env"] }
23+
criterion = { version = "0.5", features = ["async_tokio"] }
24+
futures = "0.3"
25+
http = "1"
26+
reqwest = { version = "0.12", default-features = false }
27+
serde = { version = "1", features = ["derive"] }
28+
serde_json = "1"
29+
thiserror = "2"
30+
tokio = { version = "1", features = ["full"] }
31+
tower-http = { version = "0.6", features = ["cors"] }
32+
tracing = "0.1"
33+
tracing-subscriber = { version = "0.3", features = ["env-filter"] }

‎crates/agentic-core/Cargo.toml‎

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,15 @@ license.workspace = true
77
repository.workspace = true
88

99
[dependencies]
10-
bytes = "1"
11-
futures = "0.3"
12-
http = "1"
13-
reqwest = { version = "0.12", features = ["stream"] }
14-
serde = { version = "1", features = ["derive"] }
15-
serde_json = "1"
16-
thiserror = "2"
17-
tokio = { version = "1", features = ["time"] }
18-
tracing = "0.1"
10+
bytes.workspace = true
11+
futures.workspace = true
12+
http.workspace = true
13+
reqwest = { workspace = true, features = ["default-tls", "stream"] }
14+
serde.workspace = true
15+
serde_json.workspace = true
16+
thiserror.workspace = true
17+
tokio = { workspace = true, features = ["time"] }
18+
tracing.workspace = true
1919

2020
[lints]
2121
workspace = true

‎crates/agentic-praxis/Cargo.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ license.workspace = true
77
repository.workspace = true
88

99
[dependencies]
10-
agentic-core = { path = "../agentic-core" }
10+
agentic-core.workspace = true
1111

1212
[lints]
1313
workspace = true

‎crates/agentic-server/Cargo.toml‎

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -7,24 +7,24 @@ license.workspace = true
77
repository.workspace = true
88

99
[dependencies]
10-
agentic-core = { path = "../agentic-core" }
11-
axum = "0.8"
12-
clap = { version = "4", features = ["derive", "env"] }
13-
http = "1"
14-
reqwest = { version = "0.12", default-features = false, features = ["rustls-tls"] }
15-
serde_json = "1"
16-
tokio = { version = "1", features = ["full"] }
17-
tower-http = { version = "0.6", features = ["cors"] }
18-
tracing = "0.1"
19-
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
10+
agentic-core.workspace = true
11+
axum.workspace = true
12+
clap.workspace = true
13+
http.workspace = true
14+
reqwest = { workspace = true, default-features = false, features = ["rustls-tls"] }
15+
serde_json.workspace = true
16+
tokio.workspace = true
17+
tower-http.workspace = true
18+
tracing.workspace = true
19+
tracing-subscriber.workspace = true
2020

2121
[dev-dependencies]
22-
bytes = "1"
23-
criterion = { version = "0.5", features = ["async_tokio"] }
24-
futures = "0.3"
25-
reqwest = { version = "0.12", features = ["json", "stream"] }
26-
serde_json = "1"
27-
tokio = { version = "1", features = ["full", "test-util"] }
22+
bytes.workspace = true
23+
criterion.workspace = true
24+
futures.workspace = true
25+
reqwest = { workspace = true, features = ["json"] }
26+
serde_json.workspace = true
27+
tokio = { workspace = true, features = ["test-util"] }
2828

2929
[[bench]]
3030
name = "proxy_bench"

0 commit comments

Comments
 (0)