Weird behavior when cargo add
dep (workspace) to dependencies
#14904
Labels
C-bug
Category: bug
Command-add
S-needs-info
Status: Needs more info, such as a reproduction or more background for a feature request.
Problem
The workspace dependencies:
The
Cargo.lock
However, when I run the command like
cargo add --package my_package chrono --features std
, cargo complains:rustc-serialize, serde
are actually the features ofchrono@=0.4.0
instead ofchrono@=0.4.38
.workspace.resolver
is set to "3", edition 2024.Steps
No response
Possible Solution(s)
No response
Notes
No response
Version
The text was updated successfully, but these errors were encountered: