mirror of
https://github.com/actix/examples
synced 2024-11-23 14:31:07 +01:00
chore: remove unused deps
This commit is contained in:
parent
e962a2a9b1
commit
f7b717a019
20
Cargo.lock
generated
20
Cargo.lock
generated
@ -989,7 +989,6 @@ version = "1.0.0"
|
||||
dependencies = [
|
||||
"actix-cors",
|
||||
"actix-web",
|
||||
"actix-web-lab",
|
||||
"async-graphql",
|
||||
"async-graphql-actix-web",
|
||||
"env_logger",
|
||||
@ -2000,15 +1999,12 @@ dependencies = [
|
||||
name = "cert-watch"
|
||||
version = "1.0.0"
|
||||
dependencies = [
|
||||
"actix-files",
|
||||
"actix-web",
|
||||
"color-eyre",
|
||||
"env_logger",
|
||||
"eyre",
|
||||
"futures-util",
|
||||
"log",
|
||||
"notify 6.1.1",
|
||||
"parking_lot",
|
||||
"rustls 0.23.13",
|
||||
"rustls-pemfile 2.1.3",
|
||||
"tokio",
|
||||
@ -4349,7 +4345,6 @@ version = "1.0.0"
|
||||
dependencies = [
|
||||
"actix-cors",
|
||||
"actix-web",
|
||||
"actix-web-lab",
|
||||
"dotenvy",
|
||||
"env_logger",
|
||||
"juniper",
|
||||
@ -4366,7 +4361,6 @@ version = "1.0.0"
|
||||
dependencies = [
|
||||
"actix-cors",
|
||||
"actix-web",
|
||||
"actix-web-lab",
|
||||
"env_logger",
|
||||
"juniper",
|
||||
"log",
|
||||
@ -4739,9 +4733,8 @@ version = "1.0.0"
|
||||
dependencies = [
|
||||
"actix-http",
|
||||
"actix-web",
|
||||
"actix-web-lab",
|
||||
"aes-gcm-siv",
|
||||
"base64 0.21.7",
|
||||
"base64 0.22.1",
|
||||
"env_logger",
|
||||
"log",
|
||||
"serde",
|
||||
@ -4787,7 +4780,6 @@ version = "1.0.0"
|
||||
dependencies = [
|
||||
"actix-http",
|
||||
"actix-web",
|
||||
"actix-web-lab",
|
||||
"env_logger",
|
||||
"futures-util",
|
||||
"log",
|
||||
@ -7624,7 +7616,6 @@ name = "templating-askama"
|
||||
version = "1.0.0"
|
||||
dependencies = [
|
||||
"actix-web",
|
||||
"actix-web-lab",
|
||||
"askama",
|
||||
"env_logger",
|
||||
"log",
|
||||
@ -7648,7 +7639,6 @@ name = "templating-handlebars"
|
||||
version = "1.0.0"
|
||||
dependencies = [
|
||||
"actix-web",
|
||||
"actix-web-lab",
|
||||
"env_logger",
|
||||
"handlebars 5.1.2",
|
||||
"serde_json",
|
||||
@ -7660,7 +7650,6 @@ version = "1.0.0"
|
||||
dependencies = [
|
||||
"actix-utils",
|
||||
"actix-web",
|
||||
"actix-web-lab",
|
||||
"env_logger",
|
||||
"log",
|
||||
"minijinja",
|
||||
@ -7672,7 +7661,6 @@ name = "templating-sailfish"
|
||||
version = "0.1.0"
|
||||
dependencies = [
|
||||
"actix-web",
|
||||
"actix-web-lab",
|
||||
"env_logger",
|
||||
"log",
|
||||
"sailfish",
|
||||
@ -7683,7 +7671,6 @@ name = "templating-tera"
|
||||
version = "1.0.0"
|
||||
dependencies = [
|
||||
"actix-web",
|
||||
"actix-web-lab",
|
||||
"env_logger",
|
||||
"log",
|
||||
"tera",
|
||||
@ -8334,7 +8321,6 @@ name = "tracing-mainmatter-workshop"
|
||||
version = "1.0.0"
|
||||
dependencies = [
|
||||
"actix-web",
|
||||
"actix-web-lab",
|
||||
"dotenvy",
|
||||
"metrics",
|
||||
"metrics-exporter-prometheus",
|
||||
@ -8902,12 +8888,8 @@ dependencies = [
|
||||
"actix-files",
|
||||
"actix-web",
|
||||
"actix-web-actors",
|
||||
"awc",
|
||||
"env_logger",
|
||||
"futures-util",
|
||||
"log",
|
||||
"tokio",
|
||||
"tokio-stream",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
|
@ -5,12 +5,9 @@ edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
actix-web.workspace = true
|
||||
actix-web-lab.workspace = true
|
||||
actix-cors.workspace = true
|
||||
|
||||
async-graphql = "6"
|
||||
async-graphql-actix-web = "6"
|
||||
|
||||
env_logger.workspace = true
|
||||
log.workspace = true
|
||||
slab = "0.4"
|
||||
|
@ -5,7 +5,6 @@ edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
actix-web.workspace = true
|
||||
actix-web-lab.workspace = true
|
||||
actix-cors.workspace = true
|
||||
juniper = "0.16"
|
||||
mysql = "24"
|
||||
|
@ -5,7 +5,6 @@ edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
actix-web.workspace = true
|
||||
actix-web-lab.workspace = true
|
||||
actix-cors.workspace = true
|
||||
juniper = "0.16"
|
||||
env_logger.workspace = true
|
||||
|
@ -5,14 +5,11 @@ edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
actix-web = { workspace = true, features = ["rustls-0_23"] }
|
||||
actix-files.workspace = true
|
||||
color-eyre.workspace = true
|
||||
env_logger.workspace = true
|
||||
eyre.workspace = true
|
||||
futures-util.workspace = true
|
||||
log.workspace = true
|
||||
notify = "6"
|
||||
rustls.workspace = true
|
||||
rustls-pemfile.workspace = true
|
||||
tokio = { workspace = true, features = ["time", "rt", "macros"] }
|
||||
parking_lot.workspace = true
|
||||
|
@ -7,10 +7,8 @@ edition.workspace = true
|
||||
[dependencies]
|
||||
actix-http.workspace = true
|
||||
actix-web.workspace = true
|
||||
actix-web-lab.workspace = true
|
||||
|
||||
aes-gcm-siv = "0.11"
|
||||
base64 = "0.21"
|
||||
base64 = "0.22"
|
||||
env_logger.workspace = true
|
||||
log.workspace = true
|
||||
serde.workspace = true
|
||||
|
@ -7,8 +7,6 @@ edition.workspace = true
|
||||
[dependencies]
|
||||
actix-http.workspace = true
|
||||
actix-web.workspace = true
|
||||
actix-web-lab.workspace = true
|
||||
|
||||
env_logger.workspace = true
|
||||
futures-util.workspace = true
|
||||
log.workspace = true
|
||||
|
@ -4,7 +4,6 @@ version = "1.0.0"
|
||||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
actix-web-lab.workspace = true
|
||||
actix-web.workspace = true
|
||||
askama = "0.12"
|
||||
env_logger.workspace = true
|
||||
|
@ -5,7 +5,6 @@ edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
actix-web.workspace = true
|
||||
actix-web-lab.workspace = true
|
||||
env_logger.workspace = true
|
||||
handlebars = { version = "5", features = ["dir_source"] }
|
||||
serde_json.workspace = true
|
||||
|
@ -5,9 +5,7 @@ edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
actix-web.workspace = true
|
||||
actix-web-lab.workspace = true
|
||||
actix-utils.workspace = true
|
||||
|
||||
env_logger.workspace = true
|
||||
log.workspace = true
|
||||
minijinja = { version = "2", features = ["loader"] }
|
||||
|
@ -5,8 +5,6 @@ edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
actix-web.workspace = true
|
||||
actix-web-lab.workspace = true
|
||||
|
||||
env_logger.workspace = true
|
||||
log.workspace = true
|
||||
sailfish = "0.8"
|
||||
|
@ -5,8 +5,6 @@ edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
actix-web.workspace = true
|
||||
actix-web-lab.workspace = true
|
||||
|
||||
env_logger.workspace = true
|
||||
log.workspace = true
|
||||
tera = "1.8"
|
||||
|
@ -4,6 +4,11 @@ version = "1.0.0"
|
||||
publish = false
|
||||
edition = "2021"
|
||||
|
||||
[package.metadata.cargo-machete]
|
||||
ignored = [
|
||||
"yarte_helpers" # only used as build dependency
|
||||
]
|
||||
|
||||
[dependencies]
|
||||
actix-web.workspace = true
|
||||
derive_more.workspace = true
|
||||
|
@ -7,7 +7,6 @@ rust-version.workspace = true
|
||||
|
||||
[dependencies]
|
||||
actix-web.workspace = true
|
||||
actix-web-lab.workspace = true
|
||||
dotenvy.workspace = true
|
||||
metrics = "0.23"
|
||||
metrics-exporter-prometheus = { version = "0.15", default-features = false }
|
||||
|
@ -1,7 +1,6 @@
|
||||
use std::io;
|
||||
|
||||
use actix_web::{middleware::from_fn, App, HttpServer};
|
||||
use actix_web_lab::extract::ThinData;
|
||||
use actix_web::{middleware::from_fn, web::ThinData, App, HttpServer};
|
||||
use tracing_actix_web::TracingLogger;
|
||||
|
||||
mod logging;
|
||||
|
@ -4,9 +4,9 @@ use actix_web::{
|
||||
body::MessageBody,
|
||||
dev::{ServiceRequest, ServiceResponse},
|
||||
http::header::{HeaderName, HeaderValue},
|
||||
middleware::Next,
|
||||
HttpMessage as _,
|
||||
};
|
||||
use actix_web_lab::middleware::Next;
|
||||
use tracing_actix_web::RequestId;
|
||||
|
||||
use crate::metric_names::*;
|
||||
|
@ -1,7 +1,6 @@
|
||||
use std::time::Duration;
|
||||
|
||||
use actix_web::{get, HttpResponse, Responder};
|
||||
use actix_web_lab::extract::ThinData;
|
||||
use actix_web::{get, web::ThinData, HttpResponse, Responder};
|
||||
use metrics_exporter_prometheus::PrometheusHandle;
|
||||
|
||||
#[get("/hello")]
|
||||
|
@ -16,10 +16,5 @@ actix.workspace = true
|
||||
actix-files.workspace = true
|
||||
actix-web.workspace = true
|
||||
actix-web-actors.workspace = true
|
||||
awc.workspace = true
|
||||
|
||||
env_logger.workspace = true
|
||||
futures-util = { workspace = true, features = ["sink"] }
|
||||
log.workspace = true
|
||||
tokio = { workspace = true, features = ["full"] }
|
||||
tokio-stream.workspace = true
|
||||
|
Loading…
Reference in New Issue
Block a user