deps.rs/src
Eduardo Pinho 309f13ec84
Extend dependency status box to report more issues (#121)
* Extend dependency status box to report more issues

- replace render_dev_dependency_box
  with an extended render_dependency_box
   - reports insecure dev dependencies,
     outdated main dependencies,
     and outdated dev dependencies
   - handle pluralization in dependency count message
- change methods in AnalyzeDependenciesOutcome
   - add count_outdated
   - remove any_dev_issues
- remove AnalyzedDependencies::any_dev_issues

* Format status.rs

* Simplify AnalyzeDependenciesOutcome method impls

- match ergonomics lint

* Use bullet point list

* Tweak dependency box again

- only use list items if there is more than one dependency kind

* Fix outdated dependency count

- `count_outdated` already counts only main dependencies

* Tweak dependency box to no longer assume non-zero issues

- check for when all dependency component counts are zero,
  render nothing
- always call `render_dependency_box` if it finds no security issues

Co-authored-by: Cecile Tonglet <cecile.tonglet@cecton.com>
2021-10-18 15:55:53 +01:00
..
engine Extend dependency status box to report more issues (#121) 2021-10-18 15:55:53 +01:00
interactors Fix dev dependencies being counted as main dependencies (#88) 2020-12-13 09:50:14 +01:00
models Extend dependency status box to report more issues (#121) 2021-10-18 15:55:53 +01:00
parsers Add support for 2018 edition crate renaming (#59) 2020-10-02 23:09:32 +01:00
server Extend dependency status box to report more issues (#121) 2021-10-18 15:55:53 +01:00
utils Clone crates.io-index instead of querying it through GitHub's API (#69) 2020-11-14 18:29:49 +01:00
main.rs Clone crates.io-index instead of querying it through GitHub's API (#69) 2020-11-14 18:29:49 +01:00