Closed o01eg closed 4 years ago
There is currently no such feature, but we should probably add it.
If you need a workaround, you can manually remove the path corresponding to cpp_utils
from Cargo.toml
of the generated crates.
This doesn't seem very useful with the currently recommended workflow. When generating the crate, ritual
assumes that the API of cpp_core
matches the cpp_core
in the repository. If it doesn't match, the generated crates just won't build. Having a path in Cargo.toml
doesn't really hurt: if the path is not available, cargo
will switch over to the crates.io
version automatically. All paths are also stripped from Cargo.toml
when publishing a crate.
Could generated qt crates depends locally only on generated crates? There is a option
--no-local-paths
but it make all qt crates depends on version from crates.io.With
--no-local-paths
:Without:
Is it possible to use cpp_utils from crates.io while qt crates be generated?