diff --git a/crates/uv-pep508/src/lib.rs b/crates/uv-pep508/src/lib.rs index 0a9991654..8b2b9b239 100644 --- a/crates/uv-pep508/src/lib.rs +++ b/crates/uv-pep508/src/lib.rs @@ -443,27 +443,22 @@ fn parse_name(cursor: &mut Cursor) -> Result`, `~`, `!`, `;`, found `Ѧ` + wheelѦ + ^ + "); + } + #[test] fn test_error_invalid_marker_key() { assert_snapshot!( diff --git a/crates/uv-pep508/src/verbatim_url.rs b/crates/uv-pep508/src/verbatim_url.rs index 6f44d0db7..67580ec62 100644 --- a/crates/uv-pep508/src/verbatim_url.rs +++ b/crates/uv-pep508/src/verbatim_url.rs @@ -11,6 +11,7 @@ use regex::Regex; use thiserror::Error; use url::{ParseError, Url}; +#[cfg_attr(not(feature = "non-pep508-extensions"), allow(unused_imports))] use uv_fs::{normalize_absolute_path, normalize_url_path}; use crate::Pep508Url;