mirror of https://github.com/astral-sh/uv
`PackageName` and `ExtraName` can now only be constructed from valid names. They share the same rules, so i gave them the same implementation. Constructors are split between `new` (owned) and `from_str` (borrowed), with the owned version avoiding allocations. Closes #279 --------- Co-authored-by: Zanie <contact@zanie.dev> |
||
|---|---|---|
| .. | ||
| extra_name.rs | ||
| lib.rs | ||
| package_name.rs | ||