Refactor project loading for testability.

Change-Id: Ib0be12b67b2f32c809610248013b8610f234d2b7
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/qg/+/125530
Reviewed-by: Alexei Frolov <frolv@google.com>
Commit-Queue: Erik Gilling <konkers@google.com>
3 files changed
tree: 326d856ff78dce4dc682a7ce508153664f807ed5
  1. examples/
  2. qg/
  3. qg-cli/
  4. tools/
  5. .gitignore
  6. Cargo.toml
  7. rustfmt.toml