1
0
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:
Rob Ede 2024-09-11 16:05:47 -04:00
parent e962a2a9b1
commit f7b717a019
No known key found for this signature in database
GPG Key ID: 97C636207D3EF933
18 changed files with 10 additions and 51 deletions

20
Cargo.lock generated
View File

@ -989,7 +989,6 @@ version = "1.0.0"
dependencies = [ dependencies = [
"actix-cors", "actix-cors",
"actix-web", "actix-web",
"actix-web-lab",
"async-graphql", "async-graphql",
"async-graphql-actix-web", "async-graphql-actix-web",
"env_logger", "env_logger",
@ -2000,15 +1999,12 @@ dependencies = [
name = "cert-watch" name = "cert-watch"
version = "1.0.0" version = "1.0.0"
dependencies = [ dependencies = [
"actix-files",
"actix-web", "actix-web",
"color-eyre", "color-eyre",
"env_logger", "env_logger",
"eyre", "eyre",
"futures-util",
"log", "log",
"notify 6.1.1", "notify 6.1.1",
"parking_lot",
"rustls 0.23.13", "rustls 0.23.13",
"rustls-pemfile 2.1.3", "rustls-pemfile 2.1.3",
"tokio", "tokio",
@ -4349,7 +4345,6 @@ version = "1.0.0"
dependencies = [ dependencies = [
"actix-cors", "actix-cors",
"actix-web", "actix-web",
"actix-web-lab",
"dotenvy", "dotenvy",
"env_logger", "env_logger",
"juniper", "juniper",
@ -4366,7 +4361,6 @@ version = "1.0.0"
dependencies = [ dependencies = [
"actix-cors", "actix-cors",
"actix-web", "actix-web",
"actix-web-lab",
"env_logger", "env_logger",
"juniper", "juniper",
"log", "log",
@ -4739,9 +4733,8 @@ version = "1.0.0"
dependencies = [ dependencies = [
"actix-http", "actix-http",
"actix-web", "actix-web",
"actix-web-lab",
"aes-gcm-siv", "aes-gcm-siv",
"base64 0.21.7", "base64 0.22.1",
"env_logger", "env_logger",
"log", "log",
"serde", "serde",
@ -4787,7 +4780,6 @@ version = "1.0.0"
dependencies = [ dependencies = [
"actix-http", "actix-http",
"actix-web", "actix-web",
"actix-web-lab",
"env_logger", "env_logger",
"futures-util", "futures-util",
"log", "log",
@ -7624,7 +7616,6 @@ name = "templating-askama"
version = "1.0.0" version = "1.0.0"
dependencies = [ dependencies = [
"actix-web", "actix-web",
"actix-web-lab",
"askama", "askama",
"env_logger", "env_logger",
"log", "log",
@ -7648,7 +7639,6 @@ name = "templating-handlebars"
version = "1.0.0" version = "1.0.0"
dependencies = [ dependencies = [
"actix-web", "actix-web",
"actix-web-lab",
"env_logger", "env_logger",
"handlebars 5.1.2", "handlebars 5.1.2",
"serde_json", "serde_json",
@ -7660,7 +7650,6 @@ version = "1.0.0"
dependencies = [ dependencies = [
"actix-utils", "actix-utils",
"actix-web", "actix-web",
"actix-web-lab",
"env_logger", "env_logger",
"log", "log",
"minijinja", "minijinja",
@ -7672,7 +7661,6 @@ name = "templating-sailfish"
version = "0.1.0" version = "0.1.0"
dependencies = [ dependencies = [
"actix-web", "actix-web",
"actix-web-lab",
"env_logger", "env_logger",
"log", "log",
"sailfish", "sailfish",
@ -7683,7 +7671,6 @@ name = "templating-tera"
version = "1.0.0" version = "1.0.0"
dependencies = [ dependencies = [
"actix-web", "actix-web",
"actix-web-lab",
"env_logger", "env_logger",
"log", "log",
"tera", "tera",
@ -8334,7 +8321,6 @@ name = "tracing-mainmatter-workshop"
version = "1.0.0" version = "1.0.0"
dependencies = [ dependencies = [
"actix-web", "actix-web",
"actix-web-lab",
"dotenvy", "dotenvy",
"metrics", "metrics",
"metrics-exporter-prometheus", "metrics-exporter-prometheus",
@ -8902,12 +8888,8 @@ dependencies = [
"actix-files", "actix-files",
"actix-web", "actix-web",
"actix-web-actors", "actix-web-actors",
"awc",
"env_logger", "env_logger",
"futures-util",
"log", "log",
"tokio",
"tokio-stream",
] ]
[[package]] [[package]]

View File

@ -5,12 +5,9 @@ edition = "2021"
[dependencies] [dependencies]
actix-web.workspace = true actix-web.workspace = true
actix-web-lab.workspace = true
actix-cors.workspace = true actix-cors.workspace = true
async-graphql = "6" async-graphql = "6"
async-graphql-actix-web = "6" async-graphql-actix-web = "6"
env_logger.workspace = true env_logger.workspace = true
log.workspace = true log.workspace = true
slab = "0.4" slab = "0.4"

View File

@ -5,7 +5,6 @@ edition = "2021"
[dependencies] [dependencies]
actix-web.workspace = true actix-web.workspace = true
actix-web-lab.workspace = true
actix-cors.workspace = true actix-cors.workspace = true
juniper = "0.16" juniper = "0.16"
mysql = "24" mysql = "24"

View File

@ -5,7 +5,6 @@ edition = "2021"
[dependencies] [dependencies]
actix-web.workspace = true actix-web.workspace = true
actix-web-lab.workspace = true
actix-cors.workspace = true actix-cors.workspace = true
juniper = "0.16" juniper = "0.16"
env_logger.workspace = true env_logger.workspace = true

View File

@ -5,14 +5,11 @@ edition = "2021"
[dependencies] [dependencies]
actix-web = { workspace = true, features = ["rustls-0_23"] } actix-web = { workspace = true, features = ["rustls-0_23"] }
actix-files.workspace = true
color-eyre.workspace = true color-eyre.workspace = true
env_logger.workspace = true env_logger.workspace = true
eyre.workspace = true eyre.workspace = true
futures-util.workspace = true
log.workspace = true log.workspace = true
notify = "6" notify = "6"
rustls.workspace = true rustls.workspace = true
rustls-pemfile.workspace = true rustls-pemfile.workspace = true
tokio = { workspace = true, features = ["time", "rt", "macros"] } tokio = { workspace = true, features = ["time", "rt", "macros"] }
parking_lot.workspace = true

View File

@ -7,10 +7,8 @@ edition.workspace = true
[dependencies] [dependencies]
actix-http.workspace = true actix-http.workspace = true
actix-web.workspace = true actix-web.workspace = true
actix-web-lab.workspace = true
aes-gcm-siv = "0.11" aes-gcm-siv = "0.11"
base64 = "0.21" base64 = "0.22"
env_logger.workspace = true env_logger.workspace = true
log.workspace = true log.workspace = true
serde.workspace = true serde.workspace = true

View File

@ -7,8 +7,6 @@ edition.workspace = true
[dependencies] [dependencies]
actix-http.workspace = true actix-http.workspace = true
actix-web.workspace = true actix-web.workspace = true
actix-web-lab.workspace = true
env_logger.workspace = true env_logger.workspace = true
futures-util.workspace = true futures-util.workspace = true
log.workspace = true log.workspace = true

View File

@ -4,7 +4,6 @@ version = "1.0.0"
edition = "2021" edition = "2021"
[dependencies] [dependencies]
actix-web-lab.workspace = true
actix-web.workspace = true actix-web.workspace = true
askama = "0.12" askama = "0.12"
env_logger.workspace = true env_logger.workspace = true

View File

@ -5,7 +5,6 @@ edition = "2021"
[dependencies] [dependencies]
actix-web.workspace = true actix-web.workspace = true
actix-web-lab.workspace = true
env_logger.workspace = true env_logger.workspace = true
handlebars = { version = "5", features = ["dir_source"] } handlebars = { version = "5", features = ["dir_source"] }
serde_json.workspace = true serde_json.workspace = true

View File

@ -5,9 +5,7 @@ edition = "2021"
[dependencies] [dependencies]
actix-web.workspace = true actix-web.workspace = true
actix-web-lab.workspace = true
actix-utils.workspace = true actix-utils.workspace = true
env_logger.workspace = true env_logger.workspace = true
log.workspace = true log.workspace = true
minijinja = { version = "2", features = ["loader"] } minijinja = { version = "2", features = ["loader"] }

View File

@ -5,8 +5,6 @@ edition = "2021"
[dependencies] [dependencies]
actix-web.workspace = true actix-web.workspace = true
actix-web-lab.workspace = true
env_logger.workspace = true env_logger.workspace = true
log.workspace = true log.workspace = true
sailfish = "0.8" sailfish = "0.8"

View File

@ -5,8 +5,6 @@ edition = "2021"
[dependencies] [dependencies]
actix-web.workspace = true actix-web.workspace = true
actix-web-lab.workspace = true
env_logger.workspace = true env_logger.workspace = true
log.workspace = true log.workspace = true
tera = "1.8" tera = "1.8"

View File

@ -4,6 +4,11 @@ version = "1.0.0"
publish = false publish = false
edition = "2021" edition = "2021"
[package.metadata.cargo-machete]
ignored = [
"yarte_helpers" # only used as build dependency
]
[dependencies] [dependencies]
actix-web.workspace = true actix-web.workspace = true
derive_more.workspace = true derive_more.workspace = true

View File

@ -7,7 +7,6 @@ rust-version.workspace = true
[dependencies] [dependencies]
actix-web.workspace = true actix-web.workspace = true
actix-web-lab.workspace = true
dotenvy.workspace = true dotenvy.workspace = true
metrics = "0.23" metrics = "0.23"
metrics-exporter-prometheus = { version = "0.15", default-features = false } metrics-exporter-prometheus = { version = "0.15", default-features = false }

View File

@ -1,7 +1,6 @@
use std::io; use std::io;
use actix_web::{middleware::from_fn, App, HttpServer}; use actix_web::{middleware::from_fn, web::ThinData, App, HttpServer};
use actix_web_lab::extract::ThinData;
use tracing_actix_web::TracingLogger; use tracing_actix_web::TracingLogger;
mod logging; mod logging;

View File

@ -4,9 +4,9 @@ use actix_web::{
body::MessageBody, body::MessageBody,
dev::{ServiceRequest, ServiceResponse}, dev::{ServiceRequest, ServiceResponse},
http::header::{HeaderName, HeaderValue}, http::header::{HeaderName, HeaderValue},
middleware::Next,
HttpMessage as _, HttpMessage as _,
}; };
use actix_web_lab::middleware::Next;
use tracing_actix_web::RequestId; use tracing_actix_web::RequestId;
use crate::metric_names::*; use crate::metric_names::*;

View File

@ -1,7 +1,6 @@
use std::time::Duration; use std::time::Duration;
use actix_web::{get, HttpResponse, Responder}; use actix_web::{get, web::ThinData, HttpResponse, Responder};
use actix_web_lab::extract::ThinData;
use metrics_exporter_prometheus::PrometheusHandle; use metrics_exporter_prometheus::PrometheusHandle;
#[get("/hello")] #[get("/hello")]

View File

@ -16,10 +16,5 @@ actix.workspace = true
actix-files.workspace = true actix-files.workspace = true
actix-web.workspace = true actix-web.workspace = true
actix-web-actors.workspace = true actix-web-actors.workspace = true
awc.workspace = true
env_logger.workspace = true env_logger.workspace = true
futures-util = { workspace = true, features = ["sink"] }
log.workspace = true log.workspace = true
tokio = { workspace = true, features = ["full"] }
tokio-stream.workspace = true