Skip to content

Latest commit

 

History

History
19 lines (13 loc) · 850 Bytes

readme.md

File metadata and controls

19 lines (13 loc) · 850 Bytes

resovelib-rs

Rust port of resolvelib. Props to the authors who wrote such clear and concise code!

This library provides two data types:

  • Resolver: a struct that drives dependency resolution
  • Provider: a trait with methods to retrieve information about dependencies

Note that this library is a low-level building block. You will need to create a custom provider to use it in a real-world scenario. Check out in_memory_provider.rs for an example.

Terminology

  • Candidate: a concrete description of a package that can be installed (e.g. libfoo 2.3)
  • Requirement: an abstract description of a package that should be resolved (e.g. any version of libfoo)
  • Identifier: the name that identifies both a requirement and the candidate (e.g. libfoo)