Open mssun opened 4 years ago
Because of the limitation of cargo, we cannot do source replacement only for deps but not build deps [1]. Therefore, you may see two kinds of work-around: config_gen (https://github.com/apache/incubator-mesatee/tree/bd9ca1e/mesatee_config/config_gen) and prost-build-fake (https://github.com/apache/incubator-mesatee/pull/104).
config_gen
prost-build-fake
This issue relies on the upstream cargo to fix.
[1] https://users.rust-lang.org/t/source-replacement-for-dependencies-only-but-not-for-build-dependencies
Submitted an issue to cargo: https://github.com/rust-lang/cargo/issues/7679
Wish we can avoid current workaroud in the future.
Because of the limitation of cargo, we cannot do source replacement only for deps but not build deps [1]. Therefore, you may see two kinds of work-around:
config_gen
(https://github.com/apache/incubator-mesatee/tree/bd9ca1e/mesatee_config/config_gen) andprost-build-fake
(https://github.com/apache/incubator-mesatee/pull/104).This issue relies on the upstream cargo to fix.
[1] https://users.rust-lang.org/t/source-replacement-for-dependencies-only-but-not-for-build-dependencies