[package]
edition = "2024"
rust-version = "1.91"
name = "uv-fs"
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"
[features]
default = []
tokio = [
"dep:tokio",
"fs-err/tokio",
]
[lib]
name = "uv_fs"
path = "src/lib.rs"
doctest = false
[dependencies.dunce]
version = "1.0.5"
[dependencies.either]
version = "1.13.0"
[dependencies.encoding_rs_io]
version = "0.1.7"
[dependencies.fs-err]
version = "3.2.2"
features = ["tokio"]
[dependencies.path-slash]
version = "0.2.1"
[dependencies.percent-encoding]
version = "2.3.1"
[dependencies.same-file]
version = "1.0.6"
[dependencies.schemars]
version = "1.0.0"
features = ["url2"]
optional = true
[dependencies.serde]
version = "1.0.210"
features = [
"derive",
"rc",
]
optional = true
[dependencies.tempfile]
version = "3.14.0"
[dependencies.thiserror]
version = "2.0.0"
[dependencies.tokio]
version = "1.40.0"
features = [
"fs",
"io-util",
"macros",
"process",
"rt",
"signal",
"sync",
"time",
]
optional = true
[dependencies.tracing]
version = "0.1.40"
[dependencies.uv-static]
version = "0.0.21"
[target.'cfg(any(unix, target_os = "wasi", target_os = "redox"))'.dependencies.rustix]
version = "1.0.0"
features = [
"fs",
"std",
]
default-features = false
[target."cfg(windows)".dependencies.backon]
version = "1.3.0"
[target."cfg(windows)".dependencies.junction]
version = "1.2.0"
[target."cfg(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"