mirror of
https://github.com/astral-sh/uv
synced 2026-01-23 22:40:10 -05:00
I intend this to become the main form of caching for puffin: You can make http requests, you tranform the data to what you really need, you have control over the cache key, and the cache is always json (or anything else much faster we want to replace it with as long as it's serde!)
108 lines
3.7 KiB
TOML
108 lines
3.7 KiB
TOML
[workspace]
|
|
members = ["crates/*"]
|
|
exclude = ["vendor/pubgrub"]
|
|
resolver = "2"
|
|
|
|
[workspace.package]
|
|
edition = "2021"
|
|
rust-version = "1.72"
|
|
homepage = "https://astral.sh"
|
|
documentation = "https://astral.sh"
|
|
repository = "https://github.com/astral-sh/puffin"
|
|
authors = ["Astral Software Inc. <hey@astral.sh>"]
|
|
license = "MIT OR Apache-2.0"
|
|
|
|
[workspace.dependencies]
|
|
anyhow = { version = "1.0.75" }
|
|
async_http_range_reader = { git = "https://github.com/baszalmstra/async_http_range_reader", rev = "8dab2c08ac864fec1df014465264f9a7c8eae905" }
|
|
async_zip = { version = "0.0.15", features = ["tokio", "deflate"] }
|
|
bitflags = { version = "2.4.1" }
|
|
bytesize = { version = "1.3.0" }
|
|
cacache = { version = "12.0.0", default-features = false, features = ["tokio-runtime"] }
|
|
camino = { version = "1.1.6", features = ["serde1"] }
|
|
clap = { version = "4.4.7" }
|
|
colored = { version = "2.0.4" }
|
|
configparser = { version = "3.0.2" }
|
|
csv = { version = "1.3.0" }
|
|
data-encoding = { version = "2.4.0" }
|
|
directories = { version = "5.0.1" }
|
|
dirs = { version = "5.0.1" }
|
|
flate2 = { version = "1.0.28" }
|
|
fs-err = { version = "2.9.0" }
|
|
fs2 = { version = "0.4.3" }
|
|
futures = { version = "0.3.29" }
|
|
fxhash = { version = "0.2.1" }
|
|
glob = { version = "0.3.1" }
|
|
goblin = { version = "0.7.1" }
|
|
hex = { version = "0.4.3" }
|
|
http = { version = "0.2.9" }
|
|
http-cache-reqwest = { version = "0.12.0" }
|
|
http-cache-semantics = { version = "1.0.1" }
|
|
indicatif = { version = "0.17.7" }
|
|
indoc = { version = "2.0.4" }
|
|
itertools = { version = "0.11.0" }
|
|
mailparse = { version = "0.14.0" }
|
|
miette = { version = "5.10.0" }
|
|
once_cell = { version = "1.18.0" }
|
|
petgraph = { version = "0.6.4" }
|
|
platform-info = { version = "2.0.2" }
|
|
plist = { version = "1.6.0" }
|
|
pyproject-toml = { version = "0.8.0" }
|
|
rand = { version = "0.8.5" }
|
|
rayon = { version = "1.8.0" }
|
|
reflink-copy = { version = "0.1.11" }
|
|
regex = { version = "1.10.2" }
|
|
reqwest = { version = "0.11.22", default-features = false, features = ["json", "gzip", "brotli", "stream", "rustls-tls"] }
|
|
reqwest-middleware = { version = "0.2.4" }
|
|
reqwest-retry = { version = "0.3.0" }
|
|
rfc2047-decoder = { version = "1.0.1" }
|
|
seahash = { version = "4.1.0" }
|
|
serde = { version = "1.0.190" }
|
|
serde_json = { version = "1.0.108" }
|
|
sha2 = { version = "0.10.8" }
|
|
tar = { version = "0.4.40" }
|
|
target-lexicon = { version = "0.12.12" }
|
|
tempfile = { version = "3.8.1" }
|
|
thiserror = { version = "1.0.50" }
|
|
tokio = { version = "1.33.0", features = ["rt-multi-thread"] }
|
|
tokio-util = { version = "0.7.10", features = ["compat"] }
|
|
toml = { version = "0.8.6" }
|
|
toml_edit = { version = "0.20.7" }
|
|
tracing = { version = "0.1.40" }
|
|
tracing-indicatif = { version = "0.3.5" }
|
|
tracing-subscriber = { version = "0.3.17", features = ["env-filter"] }
|
|
tracing-tree = { version = "0.2.5" }
|
|
unicode-width = { version = "0.1.11" }
|
|
unscanny = { version = "0.1.0" }
|
|
url = { version = "2.4.1" }
|
|
waitmap = { version = "1.1.0" }
|
|
walkdir = { version = "2.4.0" }
|
|
which = { version = "5.0.0" }
|
|
zip = { version = "0.6.6", default-features = false, features = ["deflate"] }
|
|
|
|
[patch.crates-io]
|
|
# For pyproject-toml
|
|
pep508_rs = { path = "crates/pep508-rs" }
|
|
|
|
[profile.profiling]
|
|
inherits = "release"
|
|
debug = true
|
|
|
|
# Config for 'cargo dist'
|
|
[workspace.metadata.dist]
|
|
# The preferred cargo-dist version to use in CI (Cargo.toml SemVer syntax)
|
|
cargo-dist-version = "0.3.1"
|
|
# CI backends to support
|
|
ci = ["github"]
|
|
# The installers to generate for each app
|
|
installers = ["shell"]
|
|
# Target platforms to build apps for (Rust target-triple syntax)
|
|
targets = ["x86_64-unknown-linux-gnu", "aarch64-apple-darwin", "x86_64-apple-darwin", "x86_64-pc-windows-msvc"]
|
|
# Publish jobs to run in CI
|
|
pr-run-mode = "skip"
|
|
|
|
# The profile that 'cargo dist' will build with
|
|
[profile.dist]
|
|
inherits = "release"
|
|
lto = "thin"
|