Skip to content

Clarity around versions. Does counting start at zero? Or at one? Why is "0.1.0" the first version? #15536

Open
@aaelony

Description

@aaelony

cargo new myproject produces a Cargo.toml file with version="0.1.0".

I always edit this manually to be version="0.0.1" when I create a new project.

Why should a new project immediately be bumped to "0.1.0" ? Either the counting starts at zero or it starts at one, but it should be consistent. Maybe it should be "0.0.0"?

https://semver.org/ does not appear to address this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Command-newS-needs-infoStatus: Needs more info, such as a reproduction or more background for a feature request.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions