Bump MSRV to 1.85 and Edition 2024 (#13516)

## Summary

Builds on https://github.com/astral-sh/uv/pull/11724.

Closes https://github.com/astral-sh/uv/issues/13476.
This commit is contained in:
Charlie Marsh 2025-05-18 19:38:43 -04:00 committed by GitHub
parent cc6e766232
commit c5032aee80
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
240 changed files with 726 additions and 737 deletions

View file

@ -8,7 +8,7 @@ use std::str::{self};
use std::sync::LazyLock;
use anyhow::{Context, Result};
use cargo_util::{paths, ProcessBuilder};
use cargo_util::{ProcessBuilder, paths};
use reqwest::StatusCode;
use reqwest_middleware::ClientWithMiddleware;
use tracing::{debug, warn};

View file

@ -1,4 +1,4 @@
pub use crate::credentials::{store_credentials_from_url, GIT_STORE};
pub use crate::credentials::{GIT_STORE, store_credentials_from_url};
pub use crate::git::GIT;
pub use crate::resolver::{
GitResolver, GitResolverError, RepositoryReference, ResolvedRepositoryReference,

View file

@ -3,13 +3,13 @@ use std::path::PathBuf;
use std::str::FromStr;
use std::sync::Arc;
use dashmap::mapref::one::Ref;
use dashmap::DashMap;
use dashmap::mapref::one::Ref;
use fs_err::tokio as fs;
use reqwest_middleware::ClientWithMiddleware;
use tracing::debug;
use uv_cache_key::{cache_digest, RepositoryUrl};
use uv_cache_key::{RepositoryUrl, cache_digest};
use uv_fs::LockedFile;
use uv_git_types::{GitHubRepository, GitOid, GitReference, GitUrl};
use uv_version::version;

View file

@ -11,12 +11,12 @@ use reqwest_middleware::ClientWithMiddleware;
use tracing::{debug, instrument};
use url::Url;
use uv_cache_key::{cache_digest, RepositoryUrl};
use uv_cache_key::{RepositoryUrl, cache_digest};
use uv_git_types::GitUrl;
use uv_redacted::redacted_url;
use crate::git::GitRemote;
use crate::GIT_STORE;
use crate::git::GitRemote;
/// A remote Git source that can be checked out locally.
pub struct GitSource {