Resolvo: Fast package resolver written in Rust

License crates.io Build Status Project Chat

Resolvo implements a fast package resolution algorithm based on CDCL SAT solving. If resolvo is unable to find a solution it outputs a human-readable error message:

The following packages are incompatible |-- bluesky-widgets >=0, <100 can be installed with any of the following options: |-- bluesky-widgets 42 would require |-- suitcase-utils >=0, <54, which can be installed with any of the following options: |-- suitcase-utils 53 |-- suitcase-utils >=54, <100 cannot be installed because there are no viable options: |-- suitcase-utils 54, which conflicts with the versions reported above.

Resolve provides a generic interface which allows integrating the solver with a variety of package managers. For instance resolvo is used in rattler and pixi to solve packages from the conda ecosystem.

Originally resolvo started out as a port/fork of libsolv but it has since then diverged substantially. However, the same CDCL algorithm based on MiniSats An Extensible SAT-solver is still used underneath. Major differences compared to libsolv are:

Contributing 😍

We would love to have you contribute! See the CONTRIBUTION.md for more info. For questions, requests or a casual chat, we are very active on our discord server. You can join our discord server via this link.