Open alexjbuck opened 3 months ago
Hey,
Unfortunately cargo search
does not work with the mirror.
Implementing it, while useful, would be a pretty big endeavour that I unfortunately don't have the bandwidth to take on right now.
I'd happily accept a PR for it though.
Okay! I can't say I'll look into it soon, but good to know that it doesn't. At a minimum I might push a docs PR that states that cargo search doesn't work with this mirror.
Thanks for the super quick response!
When trying to use the
cargo search
command, I get this error:I have set both environment variables:
This is my .cargo/config.toml:
And I edited
mirror.toml
to have the base_url behttp://127.0.0.1:8080/crates
.Despite that,
cargo search <crate>
doesn't seem like it will search against the local panamax instance.I couldn't find anything in the Readme or elsewhere that indicated whether or not
cargo search
should work with Panamax, but it seems like it would be a useful feature to have if its not yet supported.