mirror of
https://github.com/astral-sh/uv.git
synced 2025-11-01 20:31:12 +00:00
`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> |
||
|---|---|---|
| .. | ||
| src | ||
| Cargo.toml | ||