mirror of
https://github.com/deps-rs/deps.rs.git
synced 2024-11-22 10:26: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" }
|
badge = { path = "./libs/badge" }
|
||||||
|
|
||||||
anyhow = "1"
|
anyhow = "1"
|
||||||
cadence = "0.21"
|
cadence = "0.22"
|
||||||
derive_more = "0.99"
|
derive_more = "0.99"
|
||||||
futures = "0.3"
|
futures = "0.3"
|
||||||
hyper = "0.13"
|
hyper = "0.13"
|
||||||
indexmap = { version = "1", features = ["serde-1"] }
|
indexmap = { version = "1", features = ["serde-1"] }
|
||||||
lru_time_cache = "0.11.1"
|
lru_time_cache = "0.11.1"
|
||||||
maud = "0.22.1"
|
maud = "0.22.1"
|
||||||
once_cell = "1.4"
|
once_cell = "1"
|
||||||
pin-project = "0.4"
|
pin-project = "1"
|
||||||
relative-path = { version = "1.3", features = ["serde"] }
|
relative-path = { version = "1.3", features = ["serde"] }
|
||||||
route-recognizer = "0.2"
|
route-recognizer = "0.3"
|
||||||
rustsec = "0.21"
|
rustsec = "0.22"
|
||||||
crates-index = "0.15.0"
|
crates-index = "0.15" # held back by semver 0.11
|
||||||
semver = { version = "0.10", features = ["serde"] }
|
semver = { version = "0.10", features = ["serde"] } # held at 0.10 due to #63
|
||||||
reqwest = { version = "0.10", features = ["json"] }
|
reqwest = { version = "0.10", features = ["json"] }
|
||||||
serde = { version = "1", features = ["derive"] }
|
serde = { version = "1", features = ["derive"] }
|
||||||
serde_json = "1"
|
serde_json = "1"
|
||||||
|
|
|
@ -12,6 +12,6 @@ edition = "2018"
|
||||||
path = "badge.rs"
|
path = "badge.rs"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
base64 = "0.12"
|
base64 = "0.13"
|
||||||
once_cell = "1"
|
once_cell = "1"
|
||||||
rusttype = "0.9"
|
rusttype = "0.9"
|
||||||
|
|
|
@ -86,21 +86,24 @@ impl App {
|
||||||
let start = Instant::now();
|
let start = Instant::now();
|
||||||
|
|
||||||
let res = if let Ok(route_match) = self.router.recognize(req.uri().path()) {
|
let res = if let Ok(route_match) = self.router.recognize(req.uri().path()) {
|
||||||
match (req.method(), route_match.handler) {
|
match (req.method(), route_match.handler()) {
|
||||||
(&Method::GET, Route::Index) => self.index(req, route_match.params, logger).await,
|
(&Method::GET, Route::Index) => {
|
||||||
|
self.index(req, route_match.params().clone(), logger).await
|
||||||
|
}
|
||||||
|
|
||||||
(&Method::GET, Route::RepoStatus(format)) => {
|
(&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
|
.await
|
||||||
}
|
}
|
||||||
|
|
||||||
(&Method::GET, Route::CrateStatus(format)) => {
|
(&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
|
.await
|
||||||
}
|
}
|
||||||
|
|
||||||
(&Method::GET, Route::CrateRedirect) => {
|
(&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)),
|
(&Method::GET, Route::Static(file)) => Ok(App::static_file(*file)),
|
||||||
|
|
Loading…
Reference in a new issue