uv/crates/pypi-types
Charlie Marsh 21408c1f35
Enforce extension validity at parse time (#5888)
## Summary

This PR adds a `DistExtension` field to some of our distribution types,
which requires that we validate that the file type is known and
supported when parsing (rather than when attempting to unzip). It
removes a bunch of extension parsing from the code too, in favor of
doing it once upfront.

Closes https://github.com/astral-sh/uv/issues/5858.
2024-08-08 21:39:47 -04:00
..
src Enforce extension validity at parse time (#5888) 2024-08-08 21:39:47 -04:00
Cargo.toml Enforce extension validity at parse time (#5888) 2024-08-08 21:39:47 -04:00