mirror of
https://github.com/astral-sh/uv
synced 2026-01-24 15:00:18 -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.
28 lines
704 B
TOML
28 lines
704 B
TOML
[package]
|
|
name = "uv-git"
|
|
version = "0.0.1"
|
|
edition = { workspace = true }
|
|
rust-version = { workspace = true }
|
|
homepage = { workspace = true }
|
|
documentation = { workspace = true }
|
|
repository = { workspace = true }
|
|
authors = { workspace = true }
|
|
license = { workspace = true }
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[dependencies]
|
|
cache-key = { workspace = true }
|
|
uv-fs = { workspace = true }
|
|
|
|
anyhow = { workspace = true }
|
|
cargo-util = { workspace = true }
|
|
dashmap = { workspace = true }
|
|
fs-err = { workspace = true, features = ["tokio"] }
|
|
reqwest = { workspace = true, features = ["blocking"] }
|
|
thiserror = { workspace = true }
|
|
tokio = { workspace = true }
|
|
tracing = { workspace = true }
|
|
url = { workspace = true }
|