uv
72bc739a - Remove `PubGrubPackage` dependency from `ResolutionGraph` (#4168)

Comment changes are shownComment changes are hidden
Commit
1 year ago
Remove `PubGrubPackage` dependency from `ResolutionGraph` (#4168) ## Summary Similar to how we abstracted the dependencies into `ResolutionDependencyNames`, I think it makes sense to abstract the base packages into a `ResolutionPackage`. This also avoids leaking details about the various `PubGrubPackage` enum variants to `ResolutionGraph`.
Author
Parents
  • crates
    • uv-resolver/src
      • resolution
        • File
          graph.rs
      • resolver
        • File
          mod.rs
    • uv/src/commands/project
      • File
        lock.rs
      • File
        sync.rs