Skip to content

Commit

Permalink
Use structured types for parsing and formatting language and ABI tags
Browse files Browse the repository at this point in the history
  • Loading branch information
charliermarsh committed Jan 12, 2025
1 parent 5788cd2 commit 142cc14
Show file tree
Hide file tree
Showing 5 changed files with 880 additions and 61 deletions.
2 changes: 2 additions & 0 deletions crates/uv-distribution-filename/src/wheel.rs
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,8 @@ impl WheelFilename {
name,
version,
build_tag,
// TODO(charlie): Consider storing structured tags here. We need to benchmark to
// understand whether it's impactful.
python_tag: python_tag.split('.').map(String::from).collect(),
abi_tag: abi_tag.split('.').map(String::from).collect(),
platform_tag: platform_tag.split('.').map(String::from).collect(),
Expand Down
Loading

0 comments on commit 142cc14

Please sign in to comment.