mirror of
https://github.com/rust-lang/cargo
synced 2024-10-02 14:04:23 +00:00
Auto merge of #11265 - hi-rustin:rustin-patch-missing, r=epage
Add missing edition When I read this doc, I found that we are missing the edition key in this manifest. I think we should add it because` cargo new` always does this.
This commit is contained in:
commit
b1b25a0255
|
@ -29,6 +29,7 @@ in `Cargo.toml`:
|
|||
[package]
|
||||
name = "my-project"
|
||||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
other-crate = { version = "1.0", registry = "my-registry" }
|
||||
|
|
Loading…
Reference in a new issue