Skip to content

Migrate shared dependencies to workspace dependencies#559

Merged
hannesdejager merged 1 commit intobolcom:masterfrom
stratorys:chore/workspace-dependencies
Feb 11, 2026
Merged

Migrate shared dependencies to workspace dependencies#559
hannesdejager merged 1 commit intobolcom:masterfrom
stratorys:chore/workspace-dependencies

Conversation

@ljahier
Copy link
Contributor

@ljahier ljahier commented Feb 9, 2026

Summary

  • Centralize version management by adding a [workspace.dependencies] section to the root Cargo.toml
  • Migrate 20 shared dependencies (async-trait, tokio, tracing, serde, hyper, etc.) used by 2+ crates to workspace references
  • Update doc examples in src/storage/mod.rs to reflect the new workspace syntax

Motivation

Dependency versions were duplicated across all 6 crates. Updating a shared dependency required editing multiple Cargo.toml files. With workspace dependencies, versions are defined once at the root and member
crates reference them with workspace = true, adding crate-specific features as needed.

Also updated doc examples to use the new syntax, ensuring consistency and reducing maintenance overhead.

Checking

  • make pr-prep passes (fmt, build, clippy, tests, docs).

@hannesdejager hannesdejager merged commit aebc349 into bolcom:master Feb 11, 2026
8 checks passed
@hannesdejager
Copy link
Collaborator

Thank you very much @ljahier !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants