Codebase list rust-libslirp / 870cacd
Document dependency version downgrade in readme This is based on this comment: https://salsa.debian.org/rust-team/debcargo-conf/merge_requests/86#note_135456 Robin Krahl 4 years ago
1 changed file(s) with 7 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
271271 to ``Cargo.toml`` would then simply say (e.g.) ``0.5`` since the older versions
272272 actually don't work, and not the version range from the previous paragraph.
273273
274 If you want to make a crate work with an older dependency version than listed
275 in ``Cargo.toml`` (for example 0.3 instead of 0.5), you cannot use a flexible
276 version requirement like ``>= 0.3, < 0.6``. Instead you have to specify only
277 the older version, in this example ``0.3`` (`explanation`_).
278
279 .. _explanation: https://salsa.debian.org/rust-team/debcargo-conf/merge_requests/86#note_135456
280
274281 Help, something went wrong!
275282 ---------------------------
276283