Overview

The process used by cargo-breaking can be summarized like this:

  • 2.2: The configuration is parsed from the cli args

  • 2.3: The git repository informations are created from the env

  • 2.4: The crate version is fetched from the manifest

  • 2.5: The "current library" and the "target library to run against" are collected as AST with rustc

  • 2.6: Both libraries are compared against each other to collect removals, additions and modifications

  • 2.7: The results are gathered in a diagnosis structure

  • 2.8: The "best" next version is suggested from the diagnosis