mirror of
https://github.com/astral-sh/uv.git
synced 2025-08-03 18:38:21 +00:00
Use u64
instead of u32
in Version
fields (#555)
It turns out that it's not uncommon to use timestamps as patch versions (e.g., `20230628214621`). I believe this is the ISO 8601 "basic format". These can't be represented by a `u32`, so I think it makes sense to just bump to `u64` to remove this limitation.
This commit is contained in:
parent
af13c83177
commit
06ee321e9c
3 changed files with 28 additions and 27 deletions
|
@ -76,6 +76,7 @@ pub struct SourceDistDownload {
|
|||
|
||||
/// A downloaded distribution, either a wheel or a source distribution.
|
||||
#[derive(Debug)]
|
||||
#[allow(clippy::large_enum_variant)]
|
||||
pub enum Download {
|
||||
Wheel(LocalWheel),
|
||||
SourceDist(SourceDistDownload),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue