mirror of
https://github.com/astral-sh/uv.git
synced 2025-11-25 05:33:43 +00:00
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:
parent
cc6e766232
commit
c5032aee80
240 changed files with 726 additions and 737 deletions
|
|
@ -1,5 +1,5 @@
|
|||
use std::collections::btree_map::{BTreeMap, Entry};
|
||||
use std::collections::Bound;
|
||||
use std::collections::btree_map::{BTreeMap, Entry};
|
||||
use std::ops::RangeBounds;
|
||||
use std::sync::OnceLock;
|
||||
|
||||
|
|
@ -21,7 +21,7 @@ use uv_types::HashStrategy;
|
|||
use uv_warnings::warn_user_once;
|
||||
|
||||
use crate::flat_index::FlatDistributions;
|
||||
use crate::{yanks::AllowedYanks, ExcludeNewer, RequiresPython};
|
||||
use crate::{ExcludeNewer, RequiresPython, yanks::AllowedYanks};
|
||||
|
||||
/// A map from versions to distributions.
|
||||
#[derive(Debug)]
|
||||
|
|
@ -309,6 +309,7 @@ impl<'a> VersionMapDistHandle<'a> {
|
|||
|
||||
/// The kind of internal version map we have.
|
||||
#[derive(Debug)]
|
||||
#[allow(clippy::large_enum_variant)]
|
||||
enum VersionMapInner {
|
||||
/// All distributions are fully materialized in memory.
|
||||
///
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue