uv/crates/puffin-distribution/src
konsti 81f380b10e
Validate package and extra name (#290)
`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>
2023-11-06 10:04:31 +00:00
..
lib.rs Validate package and extra name (#290) 2023-11-06 10:04:31 +00:00
source.rs Move Source abstraction into puffin-distribution (#321) 2023-11-06 02:31:15 +00:00