Skip to content

Update dev-dependencies table key in Cargo.toml for Rust 2024 Edition#40

Merged
leighmcculloch merged 2 commits intomainfrom
fix-dev-dependencies-key
Feb 24, 2026
Merged

Update dev-dependencies table key in Cargo.toml for Rust 2024 Edition#40
leighmcculloch merged 2 commits intomainfrom
fix-dev-dependencies-key

Conversation

@leighmcculloch
Copy link
Member

@leighmcculloch leighmcculloch commented Feb 24, 2026

What

Rename [dev_dependencies] to [dev-dependencies] in Cargo.toml.

Why

This error was observed:

warning: dev_dependencies is deprecated in favor of dev-dependencies and will not work in the 2024 edition

@leighmcculloch leighmcculloch requested review from a team and Copilot February 24, 2026 06:10
@leighmcculloch leighmcculloch marked this pull request as ready for review February 24, 2026 06:10
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the Cargo.toml file to use the modern hyphenated syntax [dev-dependencies] instead of the deprecated underscore syntax [dev_dependencies], ensuring compatibility with the Rust 2024 Edition.

Changes:

  • Renamed the [dev_dependencies] section header to [dev-dependencies] in Cargo.toml

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@leighmcculloch leighmcculloch enabled auto-merge (squash) February 24, 2026 06:16
@leighmcculloch leighmcculloch merged commit 160b9cd into main Feb 24, 2026
8 checks passed
@leighmcculloch leighmcculloch deleted the fix-dev-dependencies-key branch February 24, 2026 21:51
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.

3 participants