Remove some unused pub functions (#3872)

## Summary

I wrote a bad Python script to find these.
This commit is contained in:
Charlie Marsh 2024-05-28 11:58:13 -04:00 committed by GitHub
parent 1fc6a59707
commit cedd18e4c6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
12 changed files with 3 additions and 174 deletions

View file

@ -203,12 +203,6 @@ impl RegistryClient {
self.timeout
}
/// Set the index URLs to use for fetching packages.
#[must_use]
pub fn with_index_url(self, index_urls: IndexUrls) -> Self {
Self { index_urls, ..self }
}
/// Fetch a package from the `PyPI` simple API.
///
/// "simple" here refers to [PEP 503 Simple Repository API](https://peps.python.org/pep-0503/)