mirror of
https://github.com/deps-rs/deps.rs.git
synced 2024-12-04 15:36:30 +00:00
chore(cargo): upgrade dependencies (#240)
This commit is contained in:
parent
e0eb5474ff
commit
289c449205
6 changed files with 327 additions and 423 deletions
721
Cargo.lock
generated
721
Cargo.lock
generated
File diff suppressed because it is too large
Load diff
|
@ -15,7 +15,7 @@ edition = "2021"
|
||||||
badge = { path = "./libs/badge" }
|
badge = { path = "./libs/badge" }
|
||||||
|
|
||||||
actix-web = "4"
|
actix-web = "4"
|
||||||
actix-web-lab = "0.20"
|
actix-web-lab = "0.23"
|
||||||
anyhow = "1"
|
anyhow = "1"
|
||||||
cadence = "1"
|
cadence = "1"
|
||||||
crates-index = { version = "3", default-features = false, features = ["git"] }
|
crates-index = { version = "3", default-features = false, features = ["git"] }
|
||||||
|
@ -34,7 +34,7 @@ parking_lot = "0.12"
|
||||||
pulldown-cmark = "0.12"
|
pulldown-cmark = "0.12"
|
||||||
relative-path = { version = "1", features = ["serde"] }
|
relative-path = { version = "1", features = ["serde"] }
|
||||||
reqwest = { version = "0.12", features = ["json"] }
|
reqwest = { version = "0.12", features = ["json"] }
|
||||||
rustsec = "0.29"
|
rustsec = "0.30"
|
||||||
semver = { version = "1", features = ["serde"] }
|
semver = { version = "1", features = ["serde"] }
|
||||||
serde = { version = "1", features = ["derive"] }
|
serde = { version = "1", features = ["derive"] }
|
||||||
serde_urlencoded = "0.7"
|
serde_urlencoded = "0.7"
|
||||||
|
|
|
@ -7,8 +7,11 @@ use std::{
|
||||||
time::Duration,
|
time::Duration,
|
||||||
};
|
};
|
||||||
|
|
||||||
use actix_web::{middleware::Logger, web};
|
use actix_web::{
|
||||||
use actix_web_lab::{extract::ThinData, middleware::NormalizePath};
|
middleware::Logger,
|
||||||
|
web::{self, ThinData},
|
||||||
|
};
|
||||||
|
use actix_web_lab::middleware::NormalizePath;
|
||||||
use cadence::{QueuingMetricSink, UdpMetricSink};
|
use cadence::{QueuingMetricSink, UdpMetricSink};
|
||||||
use reqwest::redirect::Policy as RedirectPolicy;
|
use reqwest::redirect::Policy as RedirectPolicy;
|
||||||
|
|
||||||
|
|
|
@ -6,13 +6,12 @@ use actix_web::{
|
||||||
header::{ContentType, ETag, EntityTag},
|
header::{ContentType, ETag, EntityTag},
|
||||||
Uri,
|
Uri,
|
||||||
},
|
},
|
||||||
web::{Redirect, ServiceConfig},
|
web::{Html, Redirect, ServiceConfig, ThinData},
|
||||||
Either, HttpResponse, Resource, Responder,
|
Either, HttpResponse, Resource, Responder,
|
||||||
};
|
};
|
||||||
use actix_web_lab::{
|
use actix_web_lab::{
|
||||||
extract::{Path, ThinData},
|
extract::Path,
|
||||||
header::{CacheControl, CacheDirective},
|
header::{CacheControl, CacheDirective},
|
||||||
respond::Html,
|
|
||||||
};
|
};
|
||||||
use assets::STATIC_FAVICON_PATH;
|
use assets::STATIC_FAVICON_PATH;
|
||||||
use badge::BadgeStyle;
|
use badge::BadgeStyle;
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
use actix_web::Responder;
|
use actix_web::{web::Html, Responder};
|
||||||
use actix_web_lab::respond::Html;
|
|
||||||
use font_awesome_as_a_crate::{svg as fa, Type as FaType};
|
use font_awesome_as_a_crate::{svg as fa, Type as FaType};
|
||||||
use indexmap::IndexMap;
|
use indexmap::IndexMap;
|
||||||
use maud::{html, Markup, PreEscaped};
|
use maud::{html, Markup, PreEscaped};
|
||||||
|
@ -7,6 +6,7 @@ use pulldown_cmark::{html, Parser};
|
||||||
use rustsec::advisory::Advisory;
|
use rustsec::advisory::Advisory;
|
||||||
use semver::Version;
|
use semver::Version;
|
||||||
|
|
||||||
|
use super::render_html;
|
||||||
use crate::{
|
use crate::{
|
||||||
engine::AnalyzeDependenciesOutcome,
|
engine::AnalyzeDependenciesOutcome,
|
||||||
models::{
|
models::{
|
||||||
|
@ -17,8 +17,6 @@ use crate::{
|
||||||
server::{error::ServerError, views::badge, ExtraConfig},
|
server::{error::ServerError, views::badge, ExtraConfig},
|
||||||
};
|
};
|
||||||
|
|
||||||
use super::render_html;
|
|
||||||
|
|
||||||
fn get_crates_url(name: impl AsRef<str>) -> String {
|
fn get_crates_url(name: impl AsRef<str>) -> String {
|
||||||
format!("https://crates.io/crates/{}", name.as_ref())
|
format!("https://crates.io/crates/{}", name.as_ref())
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,11 +1,12 @@
|
||||||
use either::Either;
|
|
||||||
use serde::{Deserialize, Serialize};
|
|
||||||
use serde_with::{DeserializeFromStr, SerializeDisplay};
|
|
||||||
use std::{
|
use std::{
|
||||||
fmt::{self, Debug, Display, Formatter},
|
fmt::{self, Debug, Display, Formatter},
|
||||||
str::FromStr,
|
str::FromStr,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
use either::Either;
|
||||||
|
use serde::{Deserialize, Serialize};
|
||||||
|
use serde_with::{DeserializeFromStr, SerializeDisplay};
|
||||||
|
|
||||||
/// An `untagged` version of `Either`.
|
/// An `untagged` version of `Either`.
|
||||||
///
|
///
|
||||||
/// The reason this structure is needed is that `either::Either` is
|
/// The reason this structure is needed is that `either::Either` is
|
||||||
|
|
Loading…
Reference in a new issue