<!--
title: Workspace version configuration
domain: ai-agents
topic: Configurations
language: Toml
source: openai/codex
updated: 2025-05-07
url: https://awesomereviewers.com/reviewers/codex-workspace-version-configuration/
-->

Standardize version management across multi-crate Rust projects by using workspace versioning. This reduces duplication and ensures consistency across all crates in your project.

Implementation:
1. Define the version once in the workspace Cargo.toml:
```toml
[workspace]
version = "0.1.0"
```

2. Reference this version in each crate's Cargo.toml:
```toml
[package]
name = "your-crate-name"
version = { workspace = true }
```

This approach centralizes version management, making it easier to release coordinated updates across all crates while maintaining a consistent configuration structure.
