mirror of
https://github.com/astral-sh/uv.git
synced 2025-10-17 05:47:45 +00:00

Scott schafer got me the idea: We can avoid repeating the path for workspaces dependencies everywhere if we declare them in the virtual package once and treat them as workspace dependencies from there on.
29 lines
633 B
TOML
29 lines
633 B
TOML
[package]
|
|
name = "bench"
|
|
version = "0.0.0"
|
|
description = "uv Micro-benchmarks"
|
|
publish = false
|
|
authors = { workspace = true }
|
|
edition = { workspace = true }
|
|
rust-version = { workspace = true }
|
|
homepage = { workspace = true }
|
|
documentation = { workspace = true }
|
|
repository = { workspace = true }
|
|
license = { workspace = true }
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[lib]
|
|
bench = false
|
|
|
|
[[bench]]
|
|
name = "distribution-filename"
|
|
path = "benches/distribution_filename.rs"
|
|
harness = false
|
|
|
|
[dependencies]
|
|
distribution-filename = { workspace = true }
|
|
platform-tags = { workspace = true }
|
|
|
|
criterion = { version = "0.5.1", default-features = false }
|