Skip to content

Commit a017376

Browse files
Remove unused PEP 621 error (#4057)
1 parent c97427d commit a017376

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

crates/uv-distribution/src/pyproject.rs

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -12,25 +12,10 @@ use std::ops::Deref;
1212
use glob::Pattern;
1313
use pep440_rs::VersionSpecifiers;
1414
use serde::{Deserialize, Serialize};
15-
use thiserror::Error;
1615
use url::Url;
1716

18-
use pep508_rs::Pep508Error;
19-
use pypi_types::VerbatimParsedUrl;
2017
use uv_normalize::{ExtraName, PackageName};
2118

22-
#[derive(Debug, Error)]
23-
pub enum Pep621Error {
24-
#[error(transparent)]
25-
Pep508(#[from] Box<Pep508Error<VerbatimParsedUrl>>),
26-
}
27-
28-
impl From<Pep508Error<VerbatimParsedUrl>> for Pep621Error {
29-
fn from(error: Pep508Error<VerbatimParsedUrl>) -> Self {
30-
Self::Pep508(Box::new(error))
31-
}
32-
}
33-
3419
/// A `pyproject.toml` as specified in PEP 517.
3520
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq)]
3621
#[serde(rename_all = "kebab-case")]

0 commit comments

Comments
 (0)