mirror of
https://github.com/astral-sh/uv.git
synced 2025-07-07 21:35:00 +00:00
Remove unused Requirements
struct (#4054)
This commit is contained in:
parent
db3c36dbcc
commit
34f847bb68
1 changed files with 0 additions and 8 deletions
|
@ -1,7 +1,6 @@
|
|||
use std::fmt::{Display, Formatter};
|
||||
use std::path::PathBuf;
|
||||
|
||||
use indexmap::IndexMap;
|
||||
use url::Url;
|
||||
|
||||
use pep440_rs::VersionSpecifiers;
|
||||
|
@ -11,13 +10,6 @@ use uv_normalize::{ExtraName, PackageName};
|
|||
|
||||
use crate::{ParsedUrl, VerbatimParsedUrl};
|
||||
|
||||
/// The requirements of a distribution, an extension over PEP 508's requirements.
|
||||
#[derive(Debug, Clone, Eq, PartialEq)]
|
||||
pub struct Requirements {
|
||||
pub dependencies: Vec<Requirement>,
|
||||
pub optional_dependencies: IndexMap<ExtraName, Vec<Requirement>>,
|
||||
}
|
||||
|
||||
/// A representation of dependency on a package, an extension over a PEP 508's requirement.
|
||||
///
|
||||
/// The main change is using [`RequirementSource`] to represent all supported package sources over
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue