[package]
edition = "2024"
rust-version = "1.91"
name = "uv-trampoline-builder"
version = "0.0.21"
authors = ["uv"]
build = false
include = [
"src/**/*",
"trampolines/*.exe",
"Cargo.toml",
"README.md",
]
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"
[features]
default = ["production"]
production = []
[lib]
name = "uv_trampoline_builder"
path = "src/lib.rs"
[dependencies.fs-err]
version = "3.2.2"
features = ["tokio"]
[dependencies.tempfile]
version = "3.14.0"
[dependencies.thiserror]
version = "2.0.0"
[dependencies.uv-fs]
version = "0.0.21"
features = [
"serde",
"tokio",
]
[dependencies.zip]
version = "2.2.3"
features = [
"deflate",
"zstd",
"bzip2",
"lzma",
"xz",
]
default-features = false
[dev-dependencies.anyhow]
version = "1.0.89"
[dev-dependencies.assert_cmd]
version = "2.0.16"
[dev-dependencies.assert_fs]
version = "1.1.2"
[dev-dependencies.fs-err]
version = "3.2.2"
features = ["tokio"]
[dev-dependencies.rcgen]
version = "0.14.5"
features = [
"crypto",
"pem",
"ring",
]
default-features = false
[dev-dependencies.which]
version = "8.0.0"
features = ["regex"]
[target.'cfg(target_os = "windows")'.dependencies.windows]
version = "0.61.0"
features = [
"std",
"Win32_Foundation",
"Win32_Globalization",
"Win32_Security",
"Win32_Storage_FileSystem",
"Win32_System_Console",
"Win32_System_Diagnostics_Debug",
"Win32_System_Environment",
"Win32_System_IO",
"Win32_System_Ioctl",
"Win32_System_JobObjects",
"Win32_System_Kernel",
"Win32_System_LibraryLoader",
"Win32_System_Registry",
"Win32_System_Threading",
"Win32_UI_WindowsAndMessaging",
]
[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"