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

getting INDEX_GIT_URL #95

Closed dalance closed 1 year ago

dalance commented 1 year ago

Is there any way to get INDEX_GIT_URL?

My application ( cargo-trend ) goes back through git history to gather history information, so I don't want to share the index with cargo. Therefore, I'm tring to replace Index::new to Index::with_path, but I can't get INDEX_GIT_URL which is used in Index::new.

kornelski commented 1 year ago

I've made it public.