Commit graph

123 commits

Author SHA1 Message Date
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
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
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
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
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
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
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
Rob Ede
aa0f4777e2
improve logging (#62) 2020-10-04 16:03:52 +01:00
Rob Ede
1b66eddb06
reqwest client + caching (#58) 2020-10-03 13:08:16 +01:00
Paolo Barbolini
b3fcdabeba
Add support for 2018 edition crate renaming (#59) 2020-10-02 23:09:32 +01:00
Rob Ede
66fd685062
fix clippy lints (#56) 2020-10-02 08:37:27 +02:00
Paolo Barbolini
871e9acd74
Fix url generation to git hosted Cargo.toml file (#57) 2020-10-01 21:49:11 +01:00
Rob Ede
45f114b3f6
remove unecessary into_iter/collect
Co-authored-by: Eduardo Pinho <enet4mikeenet@gmail.com>
2020-10-01 15:30:19 +01:00
Rob Ede
4642560868
remove debugging print 2020-10-01 11:24:51 +01:00
Rob Ede
b7b25b7cb7
update hyper and futures ecosystem 2020-09-30 23:08:40 +01:00
Eduardo Pinho
7d4c8dd74d Add User-Agent to all requests from the server
- Required by crates.io, which will otherwise forbid the request
- Do the same thing for all other HTTP requests,
  for consistency and transparency
2020-09-29 23:43:03 +01:00
Paolo Barbolini
c6b3fb46e8 Upgrade to hyper 0.12 2020-09-29 23:04:13 +02:00
Tom Parker-Shemilt
426b8a56a4 Update links in mod.rs as well 2020-09-29 20:29:22 +01:00
Rob Ede
57c2c79046
update rustsec crate 2020-09-29 00:55:02 +01:00
Rob Ede
820a3cfd28
remove failure 2020-09-29 00:28:58 +01:00
Rob Ede
9a1bee0eba
remove slog macro_use 2020-09-29 00:01:14 +01:00
Rob Ede
c8531f444a
fmt 2020-09-28 23:53:20 +01:00
Rob Ede
63a8355543
replace lazy-static with once-cell 2020-09-28 23:50:12 +01:00
Rob Ede
1d5fdd5dc5
welcome to 2018 2020-09-28 23:48:26 +01:00
Rob Ede
67bb58710b
make build succeed 2020-09-28 23:35:02 +01:00
Rob Ede
6b98cf4252
update maud versions 2020-09-28 23:28:45 +01:00
Sam Rijs
02394942f3 fix up tests 2018-03-23 20:20:52 +11:00
Sam Rijs
6baccaf8ea integrate rustsec database 2018-03-22 20:08:16 +11:00
Sam Rijs
d953bdb2fb remove gauges 2018-03-10 23:23:09 +11:00
Sam Rijs
5885ec3f8c improve badge generation performance 2018-03-07 18:53:29 +11:00
Sam Rijs
8ec8952304 use try_future crate to simplify async logic 2018-03-06 22:20:23 +11:00
Sam Rijs
f0442bbb3c integrate rustsec database 2018-02-25 21:59:06 +11:00
Sam Rijs
c4337ae698 instrument analyze timings 2018-02-24 17:37:42 +11:00
Sam Rijs
fec6f12a48 Revert "use lru_time_cache to improve cache expiry"
This reverts commit 063d418747.
2018-02-24 14:44:22 +11:00
Sam Rijs
063d418747 use lru_time_cache to improve cache expiry 2018-02-24 14:27:21 +11:00
Sam Rijs
bc75ceb9e2 move shared fail struct into own crate 2018-02-24 14:12:28 +11:00
Sam Rijs
c7bc04efc1 simplify latest crate search 2018-02-17 14:59:54 +11:00
Sam Rijs
37a11c17b5 add popular crates to index 2018-02-17 14:41:09 +11:00
Sam Rijs
e0352539bd implement redirect for crate report 2018-02-17 10:15:15 +11:00
Sam Rijs
26d18be9af upgrade from ordermap to indexmap 2018-02-17 09:31:38 +11:00
Sam Rijs
b93fde6ebc fix tests 2018-02-17 00:28:11 +11:00