b7d77c04cc
## 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.
34 lines
820 B
TOML
34 lines
820 B
TOML
[package]
|
|
name = "uv-types"
|
|
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]
|
|
distribution-types = { workspace = true }
|
|
once-map = { workspace = true }
|
|
pep440_rs = { workspace = true }
|
|
pep508_rs = { workspace = true }
|
|
pypi-types = { workspace = true }
|
|
uv-cache = { workspace = true }
|
|
uv-configuration = { workspace = true }
|
|
uv-git = { workspace = true }
|
|
uv-interpreter = { workspace = true }
|
|
uv-normalize = { workspace = true }
|
|
|
|
anyhow = { workspace = true }
|
|
rustc-hash = { workspace = true }
|
|
thiserror = { workspace = true }
|
|
url = { workspace = true }
|
|
|
|
[features]
|
|
default = []
|