Hi there,
I work in an offline environment where I only have access to a private crates repository. My ~/.cargo/config.toml looks like this:
[source.crates-io]
replace-with = "my-private-mirror"
[source.my-private-mirror]
registry = "sparse+https//my-rust-registry/sparse/rust-index"
And my local Cargo.toml has dependencies with features like clap = { version = "4.5", features = ["derive"] }. But when I try to use cargo upgrade, it fails with
Checking my_crate's dependencies
Error: trailing characters at line 1 column 498
When I remove features, and just use plain version, it succeeds. Is there some config I need to do in order to get this work nicely?