You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is this intentional? It's only a minor inconvenience but it leads to subtle incompatibilities (for example, velato will try to pull 0.2.1 from crates.io and I have trouble getting cargo to use the latests main form git instead)
The text was updated successfully, but these errors were encountered:
marcpabst
changed the title
Version on main behin published crate
Version on main lags behind published crate
Sep 6, 2024
The history in 0.2.1 diverges from main, so it wouldn't really be accurate to use that version number on main, since the commit which was released was never actually present on main.
You are running into rust-lang/cargo#5640. The workaround I'd suggest for your case is use a patched version of velato pointing at the patch you wish to use, or make a patch of Vello on main which has the version 0.2.0.
We're hoping to make a 0.3.0 release within the next month, which should resolve this. Although I recognise that a month is a long time.
That being said, we are considering following the pattern which Bevy uses, of "eagerly" bumping the version number to something incompatible, to avoid the expectation that this kind of transitive patching is directly supported. This is discussed in bevyengine/bevy#6451. See also linebender/bevy_vello#81
Is this intentional? It's only a minor inconvenience but it leads to subtle incompatibilities (for example,
velato
will try to pull0.2.1
fromcrates.io
and I have trouble getting cargo to use the latestsmain
form git instead)The text was updated successfully, but these errors were encountered: