rust-lang / rfcs

RFCs for changes to Rust
https://rust-lang.github.io/rfcs/
Apache License 2.0
5.96k stars 1.57k forks source link

[RFC] code name support #3688

Closed practicalrs closed 2 months ago

practicalrs commented 2 months ago

Support the following

[package]
name = "mbdf"
version = "0.2.0"
edition = "2021"
code_name = "Bailey"

Rendered

epage commented 2 months ago

To add, there is the metadata field in the version number that can be used for this.

ChrisDenton commented 2 months ago

To add, there is the metadata field in the version number that can be used for this.

I wasn't aware of this but you can indeed do 1.0.0+nickname. I couldn't find it mentioned in the Cargo docs but the semver spec has this: https://semver.org/#spec-item-10

practicalrs commented 2 months ago

Ok, let's close it.

Thanks for all the comments.