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:
Charlie Marsh 2023-12-04 21:00:55 -05:00 committed by GitHub
parent af13c83177
commit 06ee321e9c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 28 additions and 27 deletions

View file

@ -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),