mirror of
https://github.com/deps-rs/deps.rs.git
synced 2024-11-22 02:16:30 +00:00
bump all dependencies except tokio (#87)
* bump all dependencies except tokio * bump lib deps
This commit is contained in:
parent
139741362e
commit
1fc1f24480
4 changed files with 396 additions and 232 deletions
599
Cargo.lock
generated
599
Cargo.lock
generated
File diff suppressed because it is too large
Load diff
14
Cargo.toml
14
Cargo.toml
|
@ -14,20 +14,20 @@ members = [
|
|||
badge = { path = "./libs/badge" }
|
||||
|
||||
anyhow = "1"
|
||||
cadence = "0.21"
|
||||
cadence = "0.22"
|
||||
derive_more = "0.99"
|
||||
futures = "0.3"
|
||||
hyper = "0.13"
|
||||
indexmap = { version = "1", features = ["serde-1"] }
|
||||
lru_time_cache = "0.11.1"
|
||||
maud = "0.22.1"
|
||||
once_cell = "1.4"
|
||||
pin-project = "0.4"
|
||||
once_cell = "1"
|
||||
pin-project = "1"
|
||||
relative-path = { version = "1.3", features = ["serde"] }
|
||||
route-recognizer = "0.2"
|
||||
rustsec = "0.21"
|
||||
crates-index = "0.15.0"
|
||||
semver = { version = "0.10", features = ["serde"] }
|
||||
route-recognizer = "0.3"
|
||||
rustsec = "0.22"
|
||||
crates-index = "0.15" # held back by semver 0.11
|
||||
semver = { version = "0.10", features = ["serde"] } # held at 0.10 due to #63
|
||||
reqwest = { version = "0.10", features = ["json"] }
|
||||
serde = { version = "1", features = ["derive"] }
|
||||
serde_json = "1"
|
||||
|
|
|
@ -12,6 +12,6 @@ edition = "2018"
|
|||
path = "badge.rs"
|
||||
|
||||
[dependencies]
|
||||
base64 = "0.12"
|
||||
base64 = "0.13"
|
||||
once_cell = "1"
|
||||
rusttype = "0.9"
|
||||
|
|
|
@ -86,21 +86,24 @@ impl App {
|
|||
let start = Instant::now();
|
||||
|
||||
let res = if let Ok(route_match) = self.router.recognize(req.uri().path()) {
|
||||
match (req.method(), route_match.handler) {
|
||||
(&Method::GET, Route::Index) => self.index(req, route_match.params, logger).await,
|
||||
match (req.method(), route_match.handler()) {
|
||||
(&Method::GET, Route::Index) => {
|
||||
self.index(req, route_match.params().clone(), logger).await
|
||||
}
|
||||
|
||||
(&Method::GET, Route::RepoStatus(format)) => {
|
||||
self.repo_status(req, route_match.params, logger, *format)
|
||||
self.repo_status(req, route_match.params().clone(), logger, *format)
|
||||
.await
|
||||
}
|
||||
|
||||
(&Method::GET, Route::CrateStatus(format)) => {
|
||||
self.crate_status(req, route_match.params, logger, *format)
|
||||
self.crate_status(req, route_match.params().clone(), logger, *format)
|
||||
.await
|
||||
}
|
||||
|
||||
(&Method::GET, Route::CrateRedirect) => {
|
||||
self.crate_redirect(req, route_match.params, logger).await
|
||||
self.crate_redirect(req, route_match.params().clone(), logger)
|
||||
.await
|
||||
}
|
||||
|
||||
(&Method::GET, Route::Static(file)) => Ok(App::static_file(*file)),
|
||||
|
|
Loading…
Reference in a new issue