uv/crates/puffin-normalize/src
Charlie Marsh 8071a23863
Add dedicated ID types to avoid opaque strings (#642)
This allows us to enforce type safety within the resolver. For example,
in the index, we can remove `String` as a key type and enforce that
callers _must_ present us with a `PackageId`. (This actually caught one
bug, where we were using the SHA rather than the package ID. That bug
shouldn't have had any effect given where it was, since those are 1:1,
but it's still problematic.)
2023-12-14 00:53:33 +00:00
..
extra_name.rs Validate package and extra name (#290) 2023-11-06 10:04:31 +00:00
lib.rs Avoid unicode decoding in name normalization (#617) 2023-12-12 10:01:02 -05:00
package_name.rs Add dedicated ID types to avoid opaque strings (#642) 2023-12-14 00:53:33 +00:00