Authors info in Cargo.toml file

Hi Rustaceans,

Just installed rust (rustup 1.24.3, rustc 1.53.0, cargo 1.53.0) in ubuntu 20.04 along with Atom and overall things are in place and I can code.

My question is: Why I do not see any authors information in Cargo.toml file after creating any project with cargo new command?

e.g. authors = ["Your Name you@example.com"]

FYI, I do see other three config info:

name = "guessing_game"
version = "0.1.0"
edition = "2018"

Thanks for your help in this regard.

  • Supratik

The field is now optional and no longer gets populated by default. See RFC 3052 for details.

2 Likes

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.