21408c1f35
## Summary This PR adds a `DistExtension` field to some of our distribution types, which requires that we validate that the file type is known and supported when parsing (rather than when attempting to unzip). It removes a bunch of extension parsing from the code too, in favor of doing it once upfront. Closes https://github.com/astral-sh/uv/issues/5858.
38 lines
1.1 KiB
TOML
38 lines
1.1 KiB
TOML
[package]
|
|
name = "uv-extract"
|
|
version = "0.0.1"
|
|
edition = { workspace = true }
|
|
rust-version = { workspace = true }
|
|
homepage = { workspace = true }
|
|
documentation = { workspace = true }
|
|
repository = { workspace = true }
|
|
authors = { workspace = true }
|
|
license = { workspace = true }
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[dependencies]
|
|
distribution-filename = { workspace = true }
|
|
pypi-types = { workspace = true }
|
|
|
|
async-compression = { workspace = true, features = ["bzip2", "gzip", "zstd", "xz"] }
|
|
async_zip = { workspace = true, features = ["tokio"] }
|
|
fs-err = { workspace = true, features = ["tokio"] }
|
|
futures = { workspace = true }
|
|
md-5 = { workspace = true }
|
|
rayon = { workspace = true }
|
|
reqwest = { workspace = true }
|
|
rustc-hash = { workspace = true }
|
|
sha2 = { workspace = true }
|
|
thiserror = { workspace = true }
|
|
tokio = { workspace = true }
|
|
tokio-tar = { workspace = true }
|
|
tokio-util = { workspace = true, features = ["compat"] }
|
|
tracing = { workspace = true }
|
|
xz2 = { workspace = true, features = ["static"] }
|
|
zip = { workspace = true }
|
|
|
|
[package.metadata.cargo-shear]
|
|
ignored = ["xz2"]
|