Cargo follows semver by default. Specifying version &quot;1&quot; means &quot;1.x.x, &lt;2&quot;.<p>Pinning versions is simple. e.g., &quot;=1.2.3&quot;.<p>You can read more about it here: <a href="http:&#x2F;&#x2F;doc.crates.io&#x2F;crates-io.html" rel="nofollow">http:&#x2F;&#x2F;doc.crates.io&#x2F;crates-io.html</a>