#patch.crates-io doesn't work

3 messages · Page 1 of 1 (latest)

torn tundra
#

Hi! i cloned a dependency, changed it a bit and want to use it instead of the version on crates.io, i used patch.crates-io option:

[dependencies]
bevy = "0.7"
bevy_flycam = "0.7.0"
bevy-debug-text-overlay = "2.0.0"
bevy_mod_debugdump = "0.4"

[patch.crates-io]
bevy = { path = "../../bevy" }

but it doesn't work - instead two copies of bevy are compiled - what can i do?

#

found the solution - i removed bevy_mod_debugdump dependency and it worked

#

still weird