Move metadata into its own file (#3939)

Move `Metadata`, `MetadataLoweringError` and `ArchiveMetadata` into
their own file `metadata.rs` in `uv-distribution`, moving it out from
`lib.rs`. No functional changes.
This commit is contained in:
konsti 2024-05-31 15:24:10 +02:00 committed by GitHub
parent 3c074142f5
commit 72b1642232
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 149 additions and 141 deletions

View file

@ -32,8 +32,9 @@ use uv_types::BuildContext;
use crate::archive::Archive;
use crate::locks::Locks;
use crate::metadata::{ArchiveMetadata, Metadata};
use crate::source::SourceDistributionBuilder;
use crate::{ArchiveMetadata, Error, LocalWheel, Metadata, Reporter};
use crate::{Error, LocalWheel, Reporter};
/// A cached high-level interface to convert distributions (a requirement resolved to a location)
/// to a wheel or wheel metadata.