mirror of
https://github.com/astral-sh/uv
synced 2026-01-26 07:50:16 -05:00
## Summary
This PR removes the static resolver map:
```rust
static RESOLVED_GIT_REFS: Lazy<Mutex<FxHashMap<RepositoryReference, GitSha>>> =
Lazy::new(Mutex::default);
```
With a `GitResolver` struct that we now pass around on the
`BuildContext`. There should be no behavior changes here; it's purely an
internal refactor with an eye towards making it cleaner for us to
"pre-populate" the list of resolved SHAs.
55 lines
1.4 KiB
TOML
55 lines
1.4 KiB
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
|
|
|
|
[[bench]]
|
|
name = "uv"
|
|
path = "benches/uv.rs"
|
|
harness = false
|
|
|
|
[dependencies]
|
|
distribution-filename = { workspace = true }
|
|
distribution-types = { workspace = true }
|
|
install-wheel-rs = { workspace = true }
|
|
pep508_rs = { workspace = true }
|
|
platform-tags = { workspace = true }
|
|
pypi-types = { workspace = true }
|
|
uv-cache = { workspace = true }
|
|
uv-client = { workspace = true }
|
|
uv-configuration = { workspace = true }
|
|
uv-dispatch = { workspace = true }
|
|
uv-distribution = { workspace = true }
|
|
uv-git = { workspace = true }
|
|
uv-interpreter = { workspace = true }
|
|
uv-resolver = { workspace = true }
|
|
uv-types = { workspace = true }
|
|
|
|
anyhow = { workspace = true }
|
|
codspeed-criterion-compat = { version = "2.6.0", default-features = false, optional = true }
|
|
criterion = { version = "0.5.1", default-features = false, features = ["async_tokio"] }
|
|
once_cell = { workspace = true }
|
|
tokio = { workspace = true }
|
|
|
|
[features]
|
|
codspeed = ["codspeed-criterion-compat"]
|