uv/crates/pypi-types/src
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
..
base_url.rs Remove some unused `pub` functions (#3872) 2024-05-28 15:58:13 +00:00
direct_url.rs Use hasher to compute resolution hash (#5495) 2024-07-26 23:24:09 +00:00
lenient_requirement.rs Upgrade to Rust 1.80.0 (#5472) 2024-07-27 01:49:47 +00:00
lib.rs Add support for `tool.uv` into distribution building (#3904) 2024-05-31 02:42:03 +00:00
metadata.rs Use existing METADATA parser in wheel installer (#5508) 2024-07-27 14:38:16 -04:00
parsed_url.rs Enforce extension validity at parse time (#5888) 2024-08-08 21:39:47 -04:00
requirement.rs Enforce extension validity at parse time (#5888) 2024-08-08 21:39:47 -04:00
scheme.rs Query interpreter to determine correct `virtualenv` paths (#2188) 2024-03-05 16:13:24 -05:00
simple_json.rs Use hasher to compute resolution hash (#5495) 2024-07-26 23:24:09 +00:00