Knowledge Garden

Search

Search IconIcon to open search

Semantic Versioning in Rust

Last updated Dec 1, 2022 Edit Source

# semantic versioning

x.y.z x -> major version y -> minor version z -> patch version

rust rules

when the version is less than 1.0 => changing minor means breaking change, patch version means whatever you want

greater than 1.0 major changes are breaking minor => adding functionality patch => fixing bugs

put versions in cargo.toml