Move OnceMap into its own crate (#946)

## Summary

This is extremely generic (like `WaitMap`), and I want to use it in the
cache.
This commit is contained in:
Charlie Marsh 2024-01-16 23:09:15 -05:00 committed by GitHub
parent 5051b2c004
commit b8fbd529a1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 39 additions and 11 deletions

View file

@ -2,8 +2,8 @@ use dashmap::DashMap;
use url::Url;
use distribution_types::PackageId;
use once_map::OnceMap;
use puffin_normalize::PackageName;
use puffin_traits::OnceMap;
use pypi_types::Metadata21;
use crate::version_map::VersionMap;