Based on my observation obs-service-cargo will generate .cargo/config.toml at the root of the project directory. This comes with some caveats that we have to do that --manifest-path=<path-to-Cargo.toml> as an additional flag on the specfile. This is not ideal.
Based on my observation
obs-service-cargo
will generate.cargo/config.toml
at the root of the project directory. This comes with some caveats that we have to do that--manifest-path=<path-to-Cargo.toml>
as an additional flag on the specfile. This is not ideal.So based on https://doc.rust-lang.org/cargo/reference/config.html#hierarchical-structure, I should
.cargo/config.toml
.cargo/config.toml
for each location of the Cargo.toml for each crate found or used.