[package]
edition = "2024"
rust-version = "1.91"
name = "uv-extract"
version = "0.0.21"
authors = ["uv"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "This is an internal component crate of uv"
homepage = "https://pypi.org/project/uv/"
readme = "README.md"
license = "MIT OR Apache-2.0"
repository = "https://github.com/astral-sh/uv"
resolver = "2"
[package.metadata.cargo-shear]
ignored = ["xz2"]
[features]
default = []
static = ["xz2/static"]
[lib]
name = "uv_extract"
path = "src/lib.rs"
doctest = false
[dependencies.astral-tokio-tar]
version = "0.5.6"
[dependencies.async-compression]
version = "0.4.12"
features = [
"bzip2",
"gzip",
"xz",
"zstd",
"bzip2",
"gzip",
"zstd",
"xz",
]
[dependencies.async_zip]
version = "0.0.17"
features = [
"bzip2",
"deflate",
"lzma",
"tokio",
"xz",
"zstd",
]
package = "astral_async_zip"
[dependencies.blake2]
version = "0.10.6"
[dependencies.fs-err]
version = "3.2.2"
features = [
"tokio",
"tokio",
]
[dependencies.futures]
version = "0.3.30"
[dependencies.md-5]
version = "0.10.6"
[dependencies.rayon]
version = "1.10.0"
[dependencies.regex]
version = "1.10.6"
[dependencies.reqwest]
version = "0.12.22"
features = [
"json",
"gzip",
"deflate",
"zstd",
"stream",
"system-proxy",
"rustls-tls",
"rustls-tls-native-roots",
"socks",
"multipart",
"http2",
"blocking",
]
default-features = false
[dependencies.rustc-hash]
version = "2.0.0"
[dependencies.sha2]
version = "0.10.8"
[dependencies.tar]
version = "0.4.43"
[dependencies.thiserror]
version = "2.0.0"
[dependencies.tokio]
version = "1.40.0"
features = [
"fs",
"io-util",
"macros",
"process",
"rt",
"signal",
"sync",
"time",
]
[dependencies.tokio-util]
version = "0.7.12"
features = [
"compat",
"io",
"compat",
]
[dependencies.tracing]
version = "0.1.40"
[dependencies.uv-configuration]
version = "0.0.21"
[dependencies.uv-distribution-filename]
version = "0.0.21"
[dependencies.uv-pypi-types]
version = "0.0.21"
[dependencies.uv-static]
version = "0.0.21"
[dependencies.xz2]
version = "0.1.7"
[dependencies.zip]
version = "2.2.3"
features = [
"deflate",
"zstd",
"bzip2",
"lzma",
"xz",
]
default-features = false
[dependencies.zstd]
version = "0.13.3"
[lints.clippy]
char_lit_as_u8 = "allow"
collapsible_else_if = "allow"
collapsible_if = "allow"
dbg_macro = "warn"
empty_drop = "warn"
empty_structs_with_brackets = "warn"
exit = "warn"
get_unwrap = "warn"
if_not_else = "allow"
implicit_hasher = "allow"
large_stack_arrays = "allow"
map_unwrap_or = "allow"
match_same_arms = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
print_stderr = "warn"
print_stdout = "warn"
rc_buffer = "warn"
rc_mutex = "warn"
rest_pat_in_fully_bound_structs = "warn"
similar_names = "allow"
struct_excessive_bools = "allow"
too_many_arguments = "allow"
too_many_lines = "allow"
use_self = "warn"
used_underscore_binding = "allow"
[lints.clippy.pedantic]
level = "warn"
priority = -2
[lints.rust]
unreachable_pub = "warn"
unsafe_code = "warn"