Commit graph

197 commits

Author SHA1 Message Date
Paolo Barbolini
aa2e01f96b
Bump dependencies (#150) 2022-04-22 21:06:03 +01:00
Paolo Barbolini
aee38f5c2b
Fix clippy warnings (#151) 2022-04-22 21:05:38 +01:00
Paolo Barbolini
2b395df4a2
Bump dependencies (#147) 2022-03-18 14:21:51 +01:00
Paolo Barbolini
c981136d9e
Bump dependencies (#146) 2022-03-07 19:51:57 +01:00
Rob Ede
41218695e6
Add for-the-badge style and docs (#139) 2022-01-29 14:12:01 +00:00
Rob Ede
262d27dd74
Add compact and flat badge styles (#136) 2022-01-24 15:18:19 +00:00
Atk
8bdee6b770
Codeberg support (#134) 2022-01-19 00:51:33 +00:00
Rob Ede
e8fbb00ada
Reduce futures dep to futures-util (#135) 2022-01-16 16:48:08 +00:00
Rob Ede
b2c2506615
Sort deps alphabetically 2022-01-16 16:27:14 +00:00
Paolo Barbolini
5705c7c785
Fix dead code warnings (#130) 2021-12-29 08:54:50 +01:00
Paolo Barbolini
9b7d2786d6
Update dependencies (#129) 2021-12-29 08:30:53 +01:00
Paolo Barbolini
7ac25b31ff
Fix displaying patched versions (#127) 2021-11-25 09:46:51 +00:00
Paolo Barbolini
f2899ceb81
Bump all dependencies except crates-index (#126) 2021-11-25 09:35:28 +00:00
Cecile Tonglet
5c82d0f05e
Fix docker images in Dockerfile (#124) 2021-10-28 12:04:52 +01:00
02a9a4a35d
Bump project to Rust 2021 (#123) 2021-10-22 19:36:39 +01:00
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
Eduardo Pinho
6cd7256ee8
Only query advisory database on latest matching version (#98)
* Add methods to check always insecure dependencies

Unlike checks for `_insecure`,
   `always_insecure_ only accounts for
   vulnerabilities not patched in the latest version in the range

* Update status renders to show "maybe insecure"

- show always insecure dependencies as insecure,
  and remaining ones as "possibly insecure"
- show warning sign on all dependencies with possible vulnerability
- tweak security banner in case
  all insecure dependencies are "possibly insecure"

* Update badge renderer to show "maybe insecure"

- only show the red "inscure"
  if >=1 dependency is always insecure
- show "possibly insecure" if all are up to date but might be vulnerable

* Update status renderer

- more complete counts per project

* Format code

* Extend banner to explain what "maybe insecure" means
2021-09-05 09:51:10 +02:00
Tassilo Horn
50d81a7a79
Mention SourceHut support in README.md (#120)
This is an addendum to the now-merged PR #117 which actually implemented the
support.
2021-09-02 10:35:56 +01:00
Tassilo Horn
c99b0df891
Add support for projects hosted on sourcehut (sr.ht) (#117) 2021-08-31 20:38:38 +01:00
Eduardo Pinho
5b3fa9b0b2
Update dependencies crates-index and rustsec (#118) 2021-08-22 22:13:01 +01:00
Eduardo Pinho
b9445f4764
Clippy fix (#119) 2021-08-22 09:50:38 +02:00
Paolo Barbolini
40a90c3869
Bump semver (#113) 2021-06-15 13:58:26 +01:00
Paolo Barbolini
a1ca0680c8
Update dependencies (#111) 2021-05-27 16:02:02 +02:00
Sosthene-Guedon
1e1ac2ad0a
Filter yanked advisories (#108) (#109) 2021-05-10 06:15:04 +01:00
Paolo Barbolini
468a86c92e
clippy: fix clippy::from_over_into warning (#107) 2021-03-26 10:17:39 +01:00
a6b43e4e6d
feat: add 404 page (#104)
* feat: add 404 page

* feat: cache 404 results for 5 minutes
2021-02-23 16:22:00 +01:00
Paolo Barbolini
3f74371333
Upgrade bulma to 0.9.2 and reduce imported styles (#102)
* Upgrade bulma to 0.7.5

* Upgrade bulma to 0.8.2

* Upgrade bulma to 0.9.2

* Reduce features

* Remove ';' from sass
2021-02-15 08:50:28 +01:00
Paolo Barbolini
c0de9d15b6
Update cargo dependencies (#103) 2021-02-14 16:40:37 +01:00
Paolo Barbolini
c5443aaa92
Use font-awesome-as-a-crate instead of importing the entire Font Awesome library (#101) 2021-02-10 16:45:14 +01:00
Paolo Barbolini
b0243d5dac
Setup cache busting for style.css (#100) 2021-02-10 12:49:35 +01:00
Rob Ede
461dfe2fbd
trim path trailing slashes before route match (#99) 2021-02-02 10:25:29 +00:00
7ebffe019f
Display rustsec information on page (#96)
* chore: Bump rustsec version

* feat: display RustSec CVEs at the bottom

This closes #75.

* fix: Reduce complexity and remove duplicate advisories
2021-02-01 19:46:26 +01:00
Paolo Barbolini
3e77c30ada
Update to tokio 1.0 (#91) 2021-01-06 12:24:06 +01:00
Rob Ede
1fc1f24480
bump all dependencies except tokio (#87)
* bump all dependencies except tokio

* bump lib deps
2020-12-26 15:30:17 +01:00
Rob Ede
139741362e
links direct to other deps.rs pages (#86)
and a crates link is provided on the icon to the left
2020-12-13 13:28:22 +00:00
Paolo Barbolini
3427054f9b
Fix dev dependencies being counted as main dependencies (#88) 2020-12-13 09:50:14 +01:00
Arnaud Rebts
7719c9c3b6 Deploy to production instead of stg 2020-12-12 14:27:33 +01:00
Paolo Barbolini
ba2c55d4a2
Update popular repositories blocklist (#85)
* Updates the xi-editor repository url
* Adds https://github.com/996icu/996.ICU
* Updates rustlings repository url

These repositories shouldn't belong to the homepage, since they aren't really
crates and deps.rs fails to analyze them.

This gives space to:

* https://github.com/starship/starship
* https://github.com/SergioBenitez/Rocket
2020-12-06 20:42:44 +00:00
MGlolenstine
4b227a7836
Updated README.md (#81)
Changed the url, as `https://deps.rs/crates/<name>` resolves to 404.
2020-11-26 15:28:55 +01:00
Arnaud Rebts
fc89990771
CD: deploy to kubernetes (#79)
* Adds kubernetes manfiests, and deploy push

* Add production overlay

* Add a volume for crates.io-index
2020-11-15 16:36:21 +01:00
Paolo Barbolini
84a7d5154b
Clone crates.io-index instead of querying it through GitHub's API (#69)
* Clone crates.io-index instead of querying it through GitHub's API

* Implement refreshing the crates.io-index

* Run the initial index clone before starting the server

* Log cloning the crates.io-index

* Disambiguate name of ManagedIndex initial clone fn

* Log errors with cloning or refreshing the index
2020-11-14 18:29:49 +01:00
Arnaud Rebts
b18c621779 Don't run as root 2020-11-14 16:33:01 +01:00
Arnaud Rebts
ec2740bbab Install ca-certificates for HTTPS requests 2020-11-14 16:32:25 +01:00
Paolo Barbolini
33afafc879
Upgrade to maud 0.22.1 and switch to stable Rust (#74) 2020-11-04 14:42:42 +01:00
Henil
0764c00422
Show number of outdated dependencies even if insecure crates are present (#73)
* Update to show number of outdated dependencies even if insecure crates are present

* add match statement to simplify if-else statment
2020-10-26 18:40:45 +01:00
0a22c413b3
Remove dev-dependencies from badge (#70)
* Remove dev-dependencies from badge
* Document behavior of functions on AnalyzedDependencies
2020-10-26 15:49:40 +01:00
a717c9afcc
Update the project readme (#72) 2020-10-25 03:38:49 +00:00
Cecile Tonglet
f184566d1a
Setup CD: Docker image and action to push to GH container registry (#61) 2020-10-23 19:13:25 +02:00
Paolo Barbolini
8b58821beb
Remove Mutex around Cache and move away from deprecated lru-cache (#65) 2020-10-05 12:47:24 +01:00
Cecile Tonglet
dcd2e7a421
New logo (#64) 2020-10-04 21:28:01 +02:00