2023-10-04 15:33:47 -04:00
|
|
|
[workspace]
|
|
|
|
|
members = ["crates/*"]
|
2024-01-26 14:54:11 +01:00
|
|
|
exclude = [
|
2024-02-23 19:56:34 +01:00
|
|
|
"scripts",
|
|
|
|
|
# Needs nightly
|
|
|
|
|
"crates/uv-trampoline"
|
2024-01-26 14:54:11 +01:00
|
|
|
]
|
2023-10-04 15:33:47 -04:00
|
|
|
resolver = "2"
|
|
|
|
|
|
|
|
|
|
[workspace.package]
|
|
|
|
|
edition = "2021"
|
2023-11-22 15:10:27 +00:00
|
|
|
rust-version = "1.74"
|
2024-02-15 11:19:46 -06:00
|
|
|
homepage = "https://pypi.org/project/uv/"
|
|
|
|
|
documentation = "https://pypi.org/project/uv/"
|
|
|
|
|
repository = "https://github.com/astral-sh/uv"
|
|
|
|
|
authors = ["uv"]
|
2023-10-04 15:33:47 -04:00
|
|
|
license = "MIT OR Apache-2.0"
|
2023-10-06 15:49:41 -04:00
|
|
|
|
|
|
|
|
[workspace.dependencies]
|
2024-02-26 17:01:16 -06:00
|
|
|
anstream = { version = "0.6.12" }
|
2024-02-23 14:01:40 -06:00
|
|
|
anyhow = { version = "1.0.80" }
|
2024-01-28 17:09:24 -08:00
|
|
|
async-compression = { version = "0.4.6" }
|
2024-02-12 22:35:23 -05:00
|
|
|
async-trait = { version = "0.1.77" }
|
2024-02-23 09:21:10 -06:00
|
|
|
async_http_range_reader = { version = "0.7.0" }
|
2024-01-27 16:22:44 -08:00
|
|
|
async_zip = { git = "https://github.com/charliermarsh/rs-async-zip", rev = "d76801da0943de985254fc6255c0e476b57c5836", features = ["deflate"] }
|
2024-01-25 19:29:36 -08:00
|
|
|
base64 = { version = "0.21.7" }
|
2024-01-05 17:40:12 +01:00
|
|
|
cachedir = { version = "0.3.1" }
|
2023-10-08 14:45:08 -04:00
|
|
|
camino = { version = "1.1.6", features = ["serde1"] }
|
2024-01-05 17:40:12 +01:00
|
|
|
cargo-util = { version = "0.2.8" }
|
2023-11-22 09:34:08 +01:00
|
|
|
chrono = { version = "0.4.31" }
|
2024-01-05 17:40:12 +01:00
|
|
|
clap = { version = "4.4.13" }
|
2024-02-19 04:43:18 +01:00
|
|
|
clap_complete_command = { version = "0.5.1" }
|
2024-01-05 17:40:12 +01:00
|
|
|
configparser = { version = "3.0.4" }
|
2024-01-30 10:58:45 -08:00
|
|
|
console = { version = "0.15.8", default-features = false }
|
2023-10-06 21:43:55 -04:00
|
|
|
csv = { version = "1.3.0" }
|
2024-01-30 18:08:27 -08:00
|
|
|
ctrlc = { version = "3.4.2" }
|
2024-01-12 21:57:15 -05:00
|
|
|
dashmap = { version = "5.5.3" }
|
2024-01-05 17:40:12 +01:00
|
|
|
data-encoding = { version = "2.5.0" }
|
2023-11-22 09:34:08 +01:00
|
|
|
derivative = { version = "2.2.0" }
|
2023-10-06 15:49:41 -04:00
|
|
|
directories = { version = "5.0.1" }
|
2024-01-25 01:06:38 -08:00
|
|
|
dunce = { version = "1.0.4" }
|
2024-02-14 13:44:41 -05:00
|
|
|
either = { version = "1.9.0" }
|
2024-01-19 17:29:11 -05:00
|
|
|
flate2 = { version = "1.0.28", default-features = false }
|
2024-01-05 17:40:12 +01:00
|
|
|
fs-err = { version = "2.11.0" }
|
2023-10-06 21:43:55 -04:00
|
|
|
fs2 = { version = "0.4.3" }
|
2024-01-05 17:40:12 +01:00
|
|
|
futures = { version = "0.3.30" }
|
2023-11-22 09:34:08 +01:00
|
|
|
git2 = { version = "0.18.1" }
|
2023-11-02 08:14:55 -07:00
|
|
|
glob = { version = "0.3.1" }
|
2024-01-05 17:40:12 +01:00
|
|
|
goblin = { version = "0.8.0" }
|
2023-11-01 06:21:44 -07:00
|
|
|
hex = { version = "0.4.3" }
|
2024-01-25 19:29:36 -08:00
|
|
|
hmac = { version = "0.12.1" }
|
|
|
|
|
home = { version = "0.5.9" }
|
2023-12-24 16:35:45 -05:00
|
|
|
html-escape = { version = "0.2.13" }
|
2024-01-05 17:40:12 +01:00
|
|
|
http = { version = "0.2.11" }
|
2024-01-23 20:30:33 -05:00
|
|
|
indexmap = { version = "2.1.0" }
|
2023-10-09 23:29:09 -04:00
|
|
|
indicatif = { version = "0.17.7" }
|
2023-10-16 14:43:31 +02:00
|
|
|
indoc = { version = "2.0.4" }
|
2024-02-23 14:01:11 -06:00
|
|
|
itertools = { version = "0.12.1" }
|
2024-01-25 01:06:38 -08:00
|
|
|
junction = { version = "1.0.0" }
|
2023-10-06 15:49:41 -04:00
|
|
|
mailparse = { version = "0.14.0" }
|
2024-02-23 19:56:34 +01:00
|
|
|
miette = { version = "6.0.0" }
|
2024-01-24 00:05:14 -05:00
|
|
|
nanoid = { version = "0.4.0" }
|
2024-01-05 17:40:12 +01:00
|
|
|
once_cell = { version = "1.19.0" }
|
2024-01-29 18:01:37 -08:00
|
|
|
owo-colors = { version = "4.0.0" }
|
2024-02-27 21:10:29 -05:00
|
|
|
pathdiff = { version = "0.2.1" }
|
2023-10-20 01:26:06 -04:00
|
|
|
petgraph = { version = "0.6.4" }
|
2023-10-06 15:49:41 -04:00
|
|
|
platform-info = { version = "2.0.2" }
|
2023-11-06 15:14:47 +01:00
|
|
|
plist = { version = "1.6.0" }
|
2024-02-21 21:27:58 -05:00
|
|
|
pubgrub = { git = "https://github.com/zanieb/pubgrub", rev = "aab132a3d4d444dd8dd41d8c4e605abd69dacfe1" }
|
2024-02-23 14:01:18 -06:00
|
|
|
pyo3 = { version = "0.20.3" }
|
2024-02-23 19:56:34 +01:00
|
|
|
pyo3-log = { version = "0.9.0" }
|
2024-02-20 19:33:27 +01:00
|
|
|
pyproject-toml = { version = "0.10.0" }
|
2023-11-02 08:14:55 -07:00
|
|
|
rand = { version = "0.8.5" }
|
2023-10-08 00:04:48 -04:00
|
|
|
rayon = { version = "1.8.0" }
|
2024-01-05 17:40:12 +01:00
|
|
|
reflink-copy = { version = "0.1.14" }
|
2023-11-06 15:14:47 +01:00
|
|
|
regex = { version = "1.10.2" }
|
2024-02-16 13:07:18 -06:00
|
|
|
reqwest = { version = "0.11.23", default-features = false, features = ["json", "gzip", "brotli", "stream", "rustls-tls-native-roots"] }
|
2023-11-06 15:14:47 +01:00
|
|
|
reqwest-middleware = { version = "0.2.4" }
|
2023-10-06 15:49:41 -04:00
|
|
|
reqwest-retry = { version = "0.3.0" }
|
2024-01-28 12:14:59 -05:00
|
|
|
rkyv = { version = "0.7.43", features = ["strict", "validation"] }
|
2023-12-16 22:01:35 +01:00
|
|
|
rmp-serde = { version = "1.1.2" }
|
2023-12-08 15:27:49 -05:00
|
|
|
rustc-hash = { version = "1.1.0" }
|
2024-01-25 09:27:49 -08:00
|
|
|
same-file = { version = "1.0.6" }
|
2023-10-08 14:45:08 -04:00
|
|
|
seahash = { version = "4.1.0" }
|
2024-02-26 17:01:09 -06:00
|
|
|
serde = { version = "1.0.197" }
|
2024-02-26 23:12:54 +00:00
|
|
|
serde_json = { version = "1.0.114" }
|
2024-01-25 19:29:36 -08:00
|
|
|
sha1 = { version = "0.10.6" }
|
2023-10-06 21:43:55 -04:00
|
|
|
sha2 = { version = "0.10.8" }
|
2024-02-26 17:01:01 -06:00
|
|
|
target-lexicon = { version = "0.12.14" }
|
2024-02-12 22:35:23 -05:00
|
|
|
task-local-extensions = { version = "0.1.4" }
|
2024-01-05 17:40:12 +01:00
|
|
|
tempfile = { version = "3.9.0" }
|
2024-02-23 14:01:05 -06:00
|
|
|
textwrap = { version = "0.16.1" }
|
2024-01-05 17:40:12 +01:00
|
|
|
thiserror = { version = "1.0.56" }
|
2023-12-24 11:04:00 -05:00
|
|
|
tl = { version = "0.7.7" }
|
2024-01-05 17:40:12 +01:00
|
|
|
tokio = { version = "1.35.1", features = ["rt-multi-thread"] }
|
2024-02-12 22:35:23 -05:00
|
|
|
tokio-stream = { version = "0.1.14" }
|
2024-01-29 07:00:30 -08:00
|
|
|
tokio-tar = { version = "0.3.1" }
|
2023-11-06 15:14:47 +01:00
|
|
|
tokio-util = { version = "0.7.10", features = ["compat"] }
|
2024-01-05 17:40:12 +01:00
|
|
|
toml = { version = "0.8.8" }
|
2023-11-06 15:14:47 +01:00
|
|
|
tracing = { version = "0.1.40" }
|
2024-01-30 12:03:24 +01:00
|
|
|
tracing-durations-export = { version = "0.2.0", features = ["plot"] }
|
2024-01-05 17:40:12 +01:00
|
|
|
tracing-indicatif = { version = "0.3.6" }
|
|
|
|
|
tracing-subscriber = { version = "0.3.18", features = ["env-filter"] }
|
|
|
|
|
tracing-tree = { version = "0.3.0" }
|
2023-11-06 15:14:47 +01:00
|
|
|
unicode-width = { version = "0.1.11" }
|
2023-10-12 13:09:00 -04:00
|
|
|
unscanny = { version = "0.1.0" }
|
2024-01-05 17:40:12 +01:00
|
|
|
url = { version = "2.5.0" }
|
2024-02-16 16:11:16 -05:00
|
|
|
urlencoding = { version = "2.1.3" }
|
2023-10-06 21:43:55 -04:00
|
|
|
walkdir = { version = "2.4.0" }
|
2024-01-29 18:01:37 -08:00
|
|
|
which = { version = "6.0.0" }
|
2023-10-06 21:43:55 -04:00
|
|
|
zip = { version = "0.6.6", default-features = false, features = ["deflate"] }
|
2023-10-09 16:48:55 -04:00
|
|
|
|
2023-10-16 14:43:31 +02:00
|
|
|
[patch.crates-io]
|
|
|
|
|
# For pyproject-toml
|
2024-01-29 13:11:42 -08:00
|
|
|
pep440_rs = { path = "crates/pep440-rs" }
|
2023-10-16 14:43:31 +02:00
|
|
|
pep508_rs = { path = "crates/pep508-rs" }
|
|
|
|
|
|
2023-11-22 15:10:27 +00:00
|
|
|
[workspace.lints.rust]
|
|
|
|
|
unsafe_code = "warn"
|
|
|
|
|
unreachable_pub = "warn"
|
|
|
|
|
|
|
|
|
|
[workspace.lints.clippy]
|
|
|
|
|
pedantic = { level = "warn", priority = -2 }
|
|
|
|
|
# Allowed pedantic lints
|
|
|
|
|
char_lit_as_u8 = "allow"
|
|
|
|
|
collapsible_else_if = "allow"
|
|
|
|
|
collapsible_if = "allow"
|
|
|
|
|
implicit_hasher = "allow"
|
|
|
|
|
match_same_arms = "allow"
|
|
|
|
|
missing_errors_doc = "allow"
|
|
|
|
|
missing_panics_doc = "allow"
|
|
|
|
|
module_name_repetitions = "allow"
|
|
|
|
|
must_use_candidate = "allow"
|
|
|
|
|
similar_names = "allow"
|
|
|
|
|
too_many_lines = "allow"
|
|
|
|
|
# Disallowed restriction lints
|
|
|
|
|
print_stdout = "warn"
|
|
|
|
|
print_stderr = "warn"
|
|
|
|
|
dbg_macro = "warn"
|
|
|
|
|
empty_drop = "warn"
|
|
|
|
|
empty_structs_with_brackets = "warn"
|
|
|
|
|
exit = "warn"
|
|
|
|
|
get_unwrap = "warn"
|
|
|
|
|
rc_buffer = "warn"
|
|
|
|
|
rc_mutex = "warn"
|
|
|
|
|
rest_pat_in_fully_bound_structs = "warn"
|
|
|
|
|
|
2023-10-13 11:50:04 +02:00
|
|
|
[profile.profiling]
|
|
|
|
|
inherits = "release"
|
|
|
|
|
debug = true
|
2024-01-18 15:44:11 -05:00
|
|
|
|
|
|
|
|
# The profile that 'cargo dist' will build with.
|
|
|
|
|
[profile.dist]
|
|
|
|
|
inherits = "release"
|
|
|
|
|
lto = "thin"
|
|
|
|
|
|
|
|
|
|
# Config for 'cargo dist'
|
|
|
|
|
[workspace.metadata.dist]
|
|
|
|
|
# The preferred cargo-dist version to use in CI (Cargo.toml SemVer syntax)
|
2024-02-25 20:09:04 -05:00
|
|
|
cargo-dist-version = "0.11.1"
|
2024-01-18 15:44:11 -05:00
|
|
|
# CI backends to support
|
|
|
|
|
ci = ["github"]
|
|
|
|
|
# The installers to generate for each app
|
|
|
|
|
installers = ["shell", "powershell"]
|
|
|
|
|
# The archive format to use for windows builds (defaults .zip)
|
|
|
|
|
windows-archive = ".zip"
|
|
|
|
|
# The archive format to use for non-windows builds (defaults .tar.xz)
|
|
|
|
|
unix-archive = ".tar.gz"
|
|
|
|
|
# Target platforms to build apps for (Rust target-triple syntax)
|
2024-01-26 17:12:25 -08:00
|
|
|
targets = ["aarch64-unknown-linux-gnu", "x86_64-unknown-linux-gnu", "i686-unknown-linux-gnu", "aarch64-apple-darwin", "x86_64-apple-darwin", "aarch64-unknown-linux-musl", "x86_64-unknown-linux-musl", "i686-unknown-linux-musl", "x86_64-pc-windows-msvc", "i686-pc-windows-msvc", "armv7-unknown-linux-gnueabihf", "powerpc64-unknown-linux-gnu", "powerpc64le-unknown-linux-gnu", "s390x-unknown-linux-gnu"]
|
2024-01-18 15:44:11 -05:00
|
|
|
# Whether to auto-include files like READMEs and CHANGELOGs (default true)
|
|
|
|
|
auto-includes = false
|
|
|
|
|
# Whether cargo-dist should create a Github Release or use an existing draft
|
|
|
|
|
create-release = true
|
|
|
|
|
# Publish jobs to run in CI
|
2024-01-18 20:59:06 -05:00
|
|
|
pr-run-mode = "skip"
|
2024-01-18 15:44:11 -05:00
|
|
|
# Whether CI should trigger releases with dispatches instead of tag pushes
|
|
|
|
|
dispatch-releases = true
|
|
|
|
|
# Whether CI should include auto-generated code to build local artifacts
|
|
|
|
|
build-local-artifacts = false
|
|
|
|
|
# Local artifacts jobs to run in CI
|
2024-02-15 13:30:18 -05:00
|
|
|
local-artifacts-jobs = ["./build-binaries"]
|
2024-01-18 15:44:11 -05:00
|
|
|
# Publish jobs to run in CI
|
|
|
|
|
publish-jobs = ["./publish-pypi"]
|