Closed southerntofu closed 3 years ago
I'm afraid this won't work for development - I'm changing other rg3d-x libraries at the same time while I'm writing engine or game. The docs clearly tells that you can't have path
and git
at the same time. Correct me if I'm wrong.
We can add a simple shell/bat file for the of setup all repository, or using the git native function of subrepository ? That can make it more simple to use
You could setup a workspace and override the dependencies, eg like done at https://github.com/rust-lang/cargo/issues/6126
Closing this because I added workspace for rg3d and now there is no need to manually download 4 deps, just rg3d is enough.
I just built rusty-shooter on my machine. I think the setup could be simpler if the
Cargo.toml
file referenced agit
repository (in addition to theversion
from crates.io) for dependencies instead of apath
.If all rg3d crates did this, we could just:
See cargo docs about multiple locations for a crate.