|
|
|
|
|
by ComputerGuru
665 days ago
|
|
I’m confused. If you rely on a feature introduced in X.y.z why would you specify X.y.0 to begin with (and not just X.y.z)? In practice, usual rust projects that have not put a ton of work into their dependencies encode X.y.z in Cargo.toml matching the current release at the time they developed the system. So you get at worst an unnecessarily higher version requirement but never a lower one. Moreover, rust semver would normally imply that new features should only be introduced in X.y releases, so this doesn’t really happen in practice! |
|