uv/crates/uv-normalize
Charlie Marsh 76c3caf24f
Avoid using owned String for package name constructors (#11768)
## Summary

Since we use `SmallString` internally, there's no benefit to passing an
owned string to the `PackageName` constructor (same goes for
`ExtraName`, etc.). I've kept them for now (maybe that will change in
the future, so it's useful to have clients passed own values if they
_can_), but removed a bunch of usages where we were casting from `&str`
to `String` needlessly to use the constructor.
2025-02-24 23:06:15 -08:00
..
src Avoid using owned String for package name constructors (#11768) 2025-02-24 23:06:15 -08:00
Cargo.toml Add a shared uv-small-str crate (#10545) 2025-01-12 20:23:18 +00:00