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

Made the Index more generic and implement Debug #18

Closed Michael-F-Bryan closed 6 years ago

Michael-F-Bryan commented 6 years ago

It's more idiomatic for Index::new() to accept anything which can be converted into a PathBuf. I also added a couple derives and a path() getter to make debugging easier.

frewsxcv commented 6 years ago

thanks!