mirror of
https://github.com/rust-lang/cargo.git
synced 2025-10-01 11:30:39 +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]
|
[package]
|
||||||
name = "my-project"
|
name = "my-project"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
|
edition = "2021"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
other-crate = { version = "1.0", registry = "my-registry" }
|
other-crate = { version = "1.0", registry = "my-registry" }
|
||||||
|
Loading…
x
Reference in New Issue
Block a user