Skip to content

Commit

Permalink
chore: remove unused deps
Browse files Browse the repository at this point in the history
  • Loading branch information
robjtede committed Sep 11, 2024
1 parent e962a2a commit f7b717a
Show file tree
Hide file tree
Showing 18 changed files with 10 additions and 51 deletions.
20 changes: 1 addition & 19 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 0 additions & 3 deletions graphql/async-graphql/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
1 change: 0 additions & 1 deletion graphql/juniper-advanced/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
1 change: 0 additions & 1 deletion graphql/juniper/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 0 additions & 3 deletions https-tls/cert-watch/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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
4 changes: 1 addition & 3 deletions middleware/encrypted-payloads/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 0 additions & 2 deletions middleware/various/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion templating/askama/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion templating/handlebars/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 0 additions & 2 deletions templating/minijinja/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"] }
Expand Down
2 changes: 0 additions & 2 deletions templating/sailfish/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
2 changes: 0 additions & 2 deletions templating/tera/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
5 changes: 5 additions & 0 deletions templating/yarte/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion tracing/mainmatter-workshop/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }
Expand Down
3 changes: 1 addition & 2 deletions tracing/mainmatter-workshop/src/main.rs
Original file line number Diff line number Diff line change
@@ -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;
Expand Down
2 changes: 1 addition & 1 deletion tracing/mainmatter-workshop/src/middleware.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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::*;
Expand Down
3 changes: 1 addition & 2 deletions tracing/mainmatter-workshop/src/routes.rs
Original file line number Diff line number Diff line change
@@ -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")]
Expand Down
5 changes: 0 additions & 5 deletions websockets/echo/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit f7b717a

Please sign in to comment.