Files
uv/Cargo.toml
T

149 lines
5.0 KiB
TOML
Raw Normal View History

2023-10-04 15:33:47 -04:00
[workspace]
members = ["crates/*"]
2023-12-06 18:21:15 +01:00
exclude = ["scripts"]
2023-10-04 15:33:47 -04:00
resolver = "2"
[workspace.package]
edition = "2021"
rust-version = "1.74"
2023-10-04 15:33:47 -04:00
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"
2023-10-06 15:49:41 -04:00
[workspace.dependencies]
anstream = { version = "0.6.4" }
2023-10-06 15:49:41 -04:00
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"] }
2023-11-06 15:14:47 +01:00
bitflags = { version = "2.4.1" }
2023-11-06 16:50:00 -08:00
bytesize = { version = "1.3.0" }
cachedir = { version = "0.3.0" }
2023-10-08 14:45:08 -04:00
camino = { version = "1.1.6", features = ["serde1"] }
2023-11-22 09:34:08 +01:00
cargo-util = { version = "0.2.6" }
chrono = { version = "0.4.31" }
2023-11-06 15:14:47 +01:00
clap = { version = "4.4.7" }
colored = { version = "2.0.4" }
2023-10-06 21:43:55 -04:00
configparser = { version = "3.0.2" }
csv = { version = "1.3.0" }
data-encoding = { version = "2.4.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" }
2023-10-08 14:45:08 -04:00
dirs = { version = "5.0.1" }
2023-10-16 14:43:31 +02:00
flate2 = { version = "1.0.28" }
2023-10-06 21:43:55 -04:00
fs-err = { version = "2.9.0" }
fs2 = { version = "0.4.3" }
2023-11-06 15:14:47 +01:00
futures = { version = "0.3.29" }
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" }
2023-10-06 15:49:41 -04:00
goblin = { version = "0.7.1" }
2023-11-01 06:21:44 -07:00
hex = { version = "0.4.3" }
http = { version = "0.2.9" }
http-cache-semantics = { version = "1.0.1" }
indicatif = { version = "0.17.7" }
2023-10-16 14:43:31 +02:00
indoc = { version = "2.0.4" }
itertools = { version = "0.11.0" }
2023-10-06 15:49:41 -04:00
mailparse = { version = "0.14.0" }
# For additional textwrap options: https://github.com/zkat/miette/pull/321
miette = { git = "https://github.com/zkat/miette.git", rev = "fd77257cee0f5d03aa7dccb4ba8cbaa40c1a88c6" }
2023-10-06 15:49:41 -04:00
once_cell = { version = "1.18.0" }
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" }
pubgrub = { git = "https://github.com/zanieb/pubgrub", rev = "8fff95d6a233a9fa4ee5ab5429033f0f0d3ddb20" }
2023-11-22 09:34:08 +01:00
pyo3 = { version = "0.20.0" }
pyo3-log = { version = "0.9.0"}
2023-11-06 14:16:36 +01:00
pyproject-toml = { version = "0.8.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" }
# For correct IO error handling: https://github.com/cargo-bins/reflink-copy/pull/51
reflink-copy = { git = "https://github.com/cargo-bins/reflink-copy", rev = "7dffdccc4d4152cdc0a460b3ba8e77dd84ad74df" }
2023-11-06 15:14:47 +01:00
regex = { version = "1.10.2" }
2023-10-30 18:10:17 +01:00
reqwest = { version = "0.11.22", default-features = false, features = ["json", "gzip", "brotli", "stream", "rustls-tls"] }
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" }
rfc2047-decoder = { version = "1.0.1" }
rmp-serde = { version = "1.1.2" }
rustc-hash = { version = "1.1.0" }
2023-10-08 14:45:08 -04:00
seahash = { version = "4.1.0" }
2023-11-06 15:14:47 +01:00
serde = { version = "1.0.190" }
serde_json = { version = "1.0.108" }
2023-10-06 21:43:55 -04:00
sha2 = { version = "0.10.8" }
2023-10-16 14:43:31 +02:00
tar = { version = "0.4.40" }
2023-11-06 15:14:47 +01:00
target-lexicon = { version = "0.12.12" }
tempfile = { version = "3.8.1" }
2023-11-22 09:34:08 +01:00
textwrap = { version = "0.15.2" }
2023-11-06 15:14:47 +01:00
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" }
2023-10-06 15:49:41 -04:00
tracing-subscriber = { version = "0.3.17", features = ["env-filter"] }
tracing-tree = { version = "0.2.5" }
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" }
2023-10-06 15:49:41 -04:00
url = { version = "2.4.1" }
waitmap = { version = "1.1.0" }
2023-10-06 21:43:55 -04:00
walkdir = { version = "2.4.0" }
2023-11-06 15:14:47 +01:00
which = { version = "5.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
pep508_rs = { path = "crates/pep508-rs" }
[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
2023-10-09 16:48:55 -04:00
# 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"