mirror of https://github.com/astral-sh/uv
This PR implements a few review follow-ups from #13560. In particular, it * Makes `DisplaySafeUrlRef` implement `Copy` so that it can be passed by value. * Updates `to_string_with_credentials` methods with `displayable_with_credentials`, returning an `impl Display` instead of `String` for greater flexibility. * Updates the `DisplaySafeUrl` and `DisplaySafeUrlRef` `Debug` implementations to match the underlying `Url` `Debug` implementation (with the exception that credentials are masked). * Replaces an unnecessary `DisplaySafeUrl::from(Url::from_file_path` with `DisplaySafeUrl::from_file_path` |
||
|---|---|---|
| .. | ||
| httpcache | ||
| base_client.rs | ||
| cached_client.rs | ||
| error.rs | ||
| flat_index.rs | ||
| html.rs | ||
| lib.rs | ||
| linehaul.rs | ||
| middleware.rs | ||
| registry_client.rs | ||
| remote_metadata.rs | ||
| rkyvutil.rs | ||
| tls.rs | ||