File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change 6
6
//! which is more worried about discovering crates from various sources, this
7
7
//! module just uses the Registry trait as a source to learn about crates from.
8
8
//!
9
- //! Actually solving a constraint graph is an NP-hard (or NP-complete, I forget
10
- //! which) problem, this the algorithm is basically a nice heuristic to make
11
- //! sure we get roughly the best answer most of the time. The constraints that
12
- //! we're working with are:
9
+ //! Actually solving a constraint graph is an NP-hard problem. This algorithm
10
+ //! is basically a nice heuristic to make sure we get roughly the best answer
11
+ //! most of the time. The constraints that we're working with are:
13
12
//!
14
13
//! 1. Each crate can have any number of dependencies. Each dependency can
15
14
//! declare a version range that it is compatible with.
You can’t perform that action at this time.
0 commit comments