-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Expose crates_index::git::URL
even without git
feature
#149
Comments
Maybe URLs can generally move to their own module which is always available. Further, I recommend having a look at |
I'm not sure if a module is necessary for the urls, they could be top-level |
Maybe none of these is great after all 😅. What about keeping the existing structure and refactor so that |
I'm transitioning
cargo-dl
to use the new sparse feature support, as part of that I want to check the.crate
download caches for both the sparse and git index to avoid having to actually download if the user has the package already. I'm usingcrates_index::local_path_and_canonical_url
to handle the bulk of the local path determination for me and then moving from that to the cache directory. At least at the moment I don't plan to support using the git index, but to get the URL to pass tolocal_path...
I still need to activate the feature (or hardcode my own copy of it).The text was updated successfully, but these errors were encountered: