uv/crates/pypi-types/src
konsti 5ffbfadf66
Make hashes optional (#910)
There is no guarantee that indexes provide hashes at all or the sha256
we support specifically. [PEP
503](https://peps.python.org/pep-0503/#specification):

> The URL SHOULD include a hash in the form of a URL fragment with the
following syntax: #<hashname>=<hashvalue>, where <hashname> is the
lowercase name of the hash function (such as sha256) and <hashvalue> is
the hex encoded digest.

We instead use the url as input to generate a hash when caching.
2024-01-14 16:32:55 -05:00
..
base_url.rs Add support for relative URLs in simple metadata responses (#721) 2023-12-27 08:53:21 -05:00
direct_url.rs Show URLs and version together for installed, URL-based dependencies (#690) 2023-12-18 22:21:37 +00:00
lenient_requirement.rs Filter out files with invalid requires python specifiers (#775) 2024-01-09 02:46:27 +00:00
lib.rs Add support for relative URLs in simple metadata responses (#721) 2023-12-27 08:53:21 -05:00
metadata.rs pep440: rewrite the parser and make version comparisons cheaper (#789) 2024-01-05 11:57:32 -05:00
simple_json.rs Make hashes optional (#910) 2024-01-14 16:32:55 -05:00