frewsxcv / rust-crates-index

Rust library for retrieving and interacting with the crates.io index
https://docs.rs/crates-index/
Apache License 2.0
72 stars 37 forks source link

Support alternate registries #104

Closed bonsairobo closed 1 year ago

bonsairobo commented 1 year ago

For example, shipyard.rs.

It seems like any registry server implementing the git protocol should be supported with a small amount of configuration. But I can't say how difficult this would be to implement or maintain.

bonsairobo commented 1 year ago

Ah I just found this: https://docs.rs/crates-index/latest/crates_index/struct.Index.html#method.from_url

I'll see if I can make this work.