1
0
mirror of https://github.com/actix/examples synced 2024-11-23 14:31:07 +01:00

remove unneeded dependencies

This commit is contained in:
Rob Ede 2023-07-18 17:42:33 +01:00
parent 1a634a983f
commit 2ece131b36
No known key found for this signature in database
GPG Key ID: 97C636207D3EF933
27 changed files with 7 additions and 67 deletions

32
Cargo.lock generated
View File

@ -990,7 +990,6 @@ dependencies = [
name = "async-graphql-demo" name = "async-graphql-demo"
version = "1.0.0" version = "1.0.0"
dependencies = [ dependencies = [
"actix",
"actix-cors", "actix-cors",
"actix-web", "actix-web",
"actix-web-lab", "actix-web-lab",
@ -2229,10 +2228,8 @@ dependencies = [
"actix-identity", "actix-identity",
"actix-session", "actix-session",
"actix-web", "actix-web",
"actix-web-lab",
"env_logger", "env_logger",
"log", "log",
"rand 0.8.5",
] ]
[[package]] [[package]]
@ -2286,7 +2283,6 @@ dependencies = [
"env_logger", "env_logger",
"log", "log",
"serde", "serde",
"serde_json",
] ]
[[package]] [[package]]
@ -2621,7 +2617,6 @@ version = "1.0.0"
dependencies = [ dependencies = [
"actix-web", "actix-web",
"env_logger", "env_logger",
"futures-util",
"log", "log",
"redis", "redis",
"serde", "serde",
@ -2639,7 +2634,6 @@ dependencies = [
"r2d2_sqlite", "r2d2_sqlite",
"rusqlite", "rusqlite",
"serde", "serde",
"serde_json",
] ]
[[package]] [[package]]
@ -2779,7 +2773,6 @@ dependencies = [
"env_logger", "env_logger",
"log", "log",
"serde", "serde",
"serde_json",
"uuid 1.4.1", "uuid 1.4.1",
] ]
@ -4122,7 +4115,6 @@ version = "1.0.0"
dependencies = [ dependencies = [
"actix-web", "actix-web",
"env_logger", "env_logger",
"futures-util",
"log", "log",
"serde", "serde",
"serde_json", "serde_json",
@ -4223,8 +4215,6 @@ dependencies = [
"mysql 24.0.0", "mysql 24.0.0",
"r2d2", "r2d2",
"r2d2_mysql", "r2d2_mysql",
"serde",
"serde_json",
"uuid 1.4.1", "uuid 1.4.1",
] ]
@ -4238,8 +4228,6 @@ dependencies = [
"env_logger", "env_logger",
"juniper", "juniper",
"log", "log",
"serde",
"serde_json",
] ]
[[package]] [[package]]
@ -4594,9 +4582,7 @@ dependencies = [
"aes-gcm-siv", "aes-gcm-siv",
"base64 0.21.2", "base64 0.21.2",
"env_logger", "env_logger",
"futures-util",
"log", "log",
"pin-project",
"serde", "serde",
"serde_json", "serde_json",
] ]
@ -4628,7 +4614,6 @@ name = "middleware-http-to-https"
version = "1.0.0" version = "1.0.0"
dependencies = [ dependencies = [
"actix-web", "actix-web",
"actix-web-lab",
"env_logger", "env_logger",
"futures-util", "futures-util",
"log", "log",
@ -4842,7 +4827,6 @@ dependencies = [
"env_logger", "env_logger",
"futures-util", "futures-util",
"log", "log",
"sanitize-filename",
"serde", "serde",
"serde_json", "serde_json",
"tokio 1.29.1", "tokio 1.29.1",
@ -4853,7 +4837,6 @@ name = "mysql"
version = "1.0.0" version = "1.0.0"
dependencies = [ dependencies = [
"actix-web", "actix-web",
"chrono",
"derive_more", "derive_more",
"dotenv", "dotenv",
"env_logger", "env_logger",
@ -4979,7 +4962,6 @@ dependencies = [
"env_logger", "env_logger",
"log", "log",
"serde", "serde",
"serde_json",
] ]
[[package]] [[package]]
@ -5685,7 +5667,6 @@ dependencies = [
"env_logger", "env_logger",
"log", "log",
"prost", "prost",
"prost-derive",
] ]
[[package]] [[package]]
@ -6352,7 +6333,6 @@ version = "1.0.0"
dependencies = [ dependencies = [
"actix-files", "actix-files",
"actix-web", "actix-web",
"actix-web-lab",
"env_logger", "env_logger",
"log", "log",
"rustls 0.20.8", "rustls 0.20.8",
@ -6687,8 +6667,6 @@ dependencies = [
"futures-util", "futures-util",
"log", "log",
"parking_lot 0.12.1", "parking_lot 0.12.1",
"tokio 1.29.1",
"tokio-stream",
] ]
[[package]] [[package]]
@ -6754,7 +6732,6 @@ dependencies = [
"env_logger", "env_logger",
"log", "log",
"parking_lot 0.12.1", "parking_lot 0.12.1",
"tokio 1.29.1",
] ]
[[package]] [[package]]
@ -7750,12 +7727,10 @@ dependencies = [
"actix-files", "actix-files",
"actix-session", "actix-session",
"actix-web", "actix-web",
"actix-web-lab",
"dotenv", "dotenv",
"env_logger", "env_logger",
"log", "log",
"serde", "serde",
"serde_json",
"sqlx 0.7.1", "sqlx 0.7.1",
"tera", "tera",
] ]
@ -8863,7 +8838,6 @@ name = "websocket"
version = "1.0.0" version = "1.0.0"
dependencies = [ dependencies = [
"actix", "actix",
"actix-codec",
"actix-files", "actix-files",
"actix-web", "actix-web",
"actix-web-actors", "actix-web-actors",
@ -8893,8 +8867,6 @@ dependencies = [
"actix-files", "actix-files",
"actix-web", "actix-web",
"actix-ws", "actix-ws",
"awc",
"derive_more",
"env_logger", "env_logger",
"futures-util", "futures-util",
"log", "log",
@ -8923,7 +8895,6 @@ dependencies = [
"actix-files", "actix-files",
"actix-web", "actix-web",
"actix-ws", "actix-ws",
"awc",
"env_logger", "env_logger",
"futures-util", "futures-util",
"log", "log",
@ -8941,8 +8912,6 @@ dependencies = [
"env_logger", "env_logger",
"log", "log",
"rand 0.8.5", "rand 0.8.5",
"serde",
"serde_json",
] ]
[[package]] [[package]]
@ -8955,7 +8924,6 @@ dependencies = [
"actix-web", "actix-web",
"actix-web-actors", "actix-web-actors",
"byteorder", "byteorder",
"bytes 1.4.0",
"env_logger", "env_logger",
"futures-util", "futures-util",
"log", "log",

View File

@ -5,10 +5,8 @@ edition = "2021"
[dependencies] [dependencies]
actix-web.workspace = true actix-web.workspace = true
actix-web-lab.workspace = true
actix-identity.workspace = true actix-identity.workspace = true
actix-session = { workspace = true, features = ["cookie-session"] } actix-session = { workspace = true, features = ["cookie-session"] }
env_logger.workspace = true env_logger.workspace = true
log.workspace = true log.workspace = true
rand.workspace = true

View File

@ -8,4 +8,3 @@ actix-web.workspace = true
env_logger.workspace = true env_logger.workspace = true
log.workspace = true log.workspace = true
serde.workspace = true serde.workspace = true
serde_json.workspace = true

View File

@ -7,12 +7,10 @@ edition = "2021"
actix-files.workspace = true actix-files.workspace = true
actix-session = { workspace = true, features = ["cookie-session"] } actix-session = { workspace = true, features = ["cookie-session"] }
actix-web.workspace = true actix-web.workspace = true
actix-web-lab.workspace = true
dotenv = "0.15" dotenv = "0.15"
env_logger.workspace = true env_logger.workspace = true
log.workspace = true log.workspace = true
serde.workspace = true serde.workspace = true
serde_json.workspace = true
sqlx = { version = "0.7", features = ["runtime-tokio-rustls", "sqlite"] } sqlx = { version = "0.7", features = ["runtime-tokio-rustls", "sqlite"] }
tera = "1.5" tera = "1.5"

View File

@ -10,4 +10,3 @@ actix-cors.workspace = true
env_logger.workspace = true env_logger.workspace = true
log.workspace = true log.workspace = true
serde.workspace = true serde.workspace = true
serde_json.workspace = true

View File

@ -10,5 +10,4 @@ dotenv = "0.15"
env_logger.workspace = true env_logger.workspace = true
log.workspace = true log.workspace = true
serde = { version = "1.0", features = ["derive"] } serde = { version = "1.0", features = ["derive"] }
serde_json.workspace = true
uuid = { version = "1", features = ["v4", "serde"] } uuid = { version = "1", features = ["v4", "serde"] }

View File

@ -5,7 +5,6 @@ edition = "2021"
[dependencies] [dependencies]
actix-web.workspace = true actix-web.workspace = true
chrono.workspace = true
derive_more.workspace = true derive_more.workspace = true
dotenv = "0.15" dotenv = "0.15"
env_logger.workspace = true env_logger.workspace = true

View File

@ -7,7 +7,6 @@ edition = "2021"
actix-web.workspace = true actix-web.workspace = true
env_logger.workspace = true env_logger.workspace = true
futures-util.workspace = true
log.workspace = true log.workspace = true
redis = { version = "0.23", default-features = false, features = ["tokio-comp", "connection-manager"] } redis = { version = "0.23", default-features = false, features = ["tokio-comp", "connection-manager"] }
serde.workspace = true serde.workspace = true

View File

@ -13,4 +13,3 @@ r2d2 = "0.8"
r2d2_sqlite = "0.22" r2d2_sqlite = "0.22"
rusqlite = "0.29" rusqlite = "0.29"
serde.workspace = true serde.workspace = true
serde_json.workspace = true

View File

@ -15,7 +15,6 @@ dotenv = "0.15"
env_logger.workspace = true env_logger.workspace = true
futures-util.workspace = true futures-util.workspace = true
log.workspace = true log.workspace = true
sanitize-filename = "0.4"
serde.workspace = true serde.workspace = true
serde_json.workspace = true serde_json.workspace = true
tokio = { workspace = true, features = ["io-util", "fs"] } tokio = { workspace = true, features = ["io-util", "fs"] }

View File

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

View File

@ -17,6 +17,4 @@ r2d2_mysql = "24"
dotenv = "0.15" dotenv = "0.15"
env_logger.workspace = true env_logger.workspace = true
log.workspace = true log.workspace = true
serde.workspace = true
serde_json.workspace = true
uuid = { version = "1", features = ["v4", "serde"] } uuid = { version = "1", features = ["v4", "serde"] }

View File

@ -12,5 +12,3 @@ juniper = "0.15.10"
env_logger.workspace = true env_logger.workspace = true
log.workspace = true log.workspace = true
serde.workspace = true
serde_json.workspace = true

View File

@ -9,7 +9,6 @@ path = "src/main.rs"
[dependencies] [dependencies]
actix-web = { workspace = true, features = ["rustls"] } actix-web = { workspace = true, features = ["rustls"] }
actix-web-lab.workspace = true
actix-files.workspace = true actix-files.workspace = true
env_logger.workspace = true env_logger.workspace = true

View File

@ -6,7 +6,6 @@ edition = "2021"
[dependencies] [dependencies]
actix-web.workspace = true actix-web.workspace = true
env_logger.workspace = true env_logger.workspace = true
futures-util.workspace = true
log.workspace = true log.workspace = true
serde = { version = "1.0", features = ["derive"] } serde = { version = "1.0", features = ["derive"] }
serde_json.workspace = true serde_json.workspace = true

View File

@ -11,8 +11,6 @@ actix-web-lab.workspace = true
aes-gcm-siv = "0.11" aes-gcm-siv = "0.11"
base64 = "0.21" base64 = "0.21"
env_logger.workspace = true env_logger.workspace = true
futures-util.workspace = true
log.workspace = true log.workspace = true
pin-project = "1"
serde.workspace = true serde.workspace = true
serde_json.workspace = true serde_json.workspace = true

View File

@ -5,8 +5,6 @@ edition = "2021"
[dependencies] [dependencies]
actix-web = { workspace = true, features = ["rustls"] } actix-web = { workspace = true, features = ["rustls"] }
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

@ -9,5 +9,4 @@ actix-web.workspace = true
env_logger.workspace = true env_logger.workspace = true
log.workspace = true log.workspace = true
prost = "0.11" prost = { version = "0.11", features = ["prost-derive"] }
prost-derive = "0.11"

View File

@ -1,6 +1,6 @@
use actix_protobuf::{ProtoBuf, ProtoBufResponseBuilder as _}; use actix_protobuf::{ProtoBuf, ProtoBufResponseBuilder as _};
use actix_web::{middleware, web, App, HttpResponse, HttpServer, Result}; use actix_web::{middleware, web, App, HttpResponse, HttpServer, Result};
use prost_derive::Message; use prost::Message;
#[derive(Clone, PartialEq, Eq, Message)] #[derive(Clone, PartialEq, Eq, Message)]
pub struct MyObj { pub struct MyObj {

View File

@ -10,5 +10,3 @@ env_logger.workspace = true
futures-util.workspace = true futures-util.workspace = true
log.workspace = true log.workspace = true
parking_lot = "0.12" parking_lot = "0.12"
tokio.workspace = true
tokio-stream = { version = "0.1.8", features = ["time"] }

View File

@ -11,4 +11,3 @@ actix-web-lab.workspace = true
env_logger.workspace = true env_logger.workspace = true
log.workspace = true log.workspace = true
parking_lot = "0.12" parking_lot = "0.12"
tokio = { workspace = true, features = ["signal"] }

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 build dep
]
[dependencies] [dependencies]
actix-web.workspace = true actix-web.workspace = true
derive_more.workspace = true derive_more.workspace = true

View File

@ -7,9 +7,7 @@ edition = "2021"
actix-files.workspace = true actix-files.workspace = true
actix-web.workspace = true actix-web.workspace = true
actix-ws.workspace = true actix-ws.workspace = true
awc.workspace = true
derive_more.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

@ -19,7 +19,6 @@ actix-web.workspace = true
actix-web-actors.workspace = true actix-web-actors.workspace = true
byteorder = "1.2" byteorder = "1.2"
bytes = "1"
env_logger.workspace = true env_logger.workspace = true
futures-util = { workspace = true, features = ["sink"] } futures-util = { workspace = true, features = ["sink"] }
log.workspace = true log.workspace = true

View File

@ -16,5 +16,3 @@ actix-web-actors.workspace = true
env_logger.workspace = true env_logger.workspace = true
log.workspace = true log.workspace = true
rand.workspace = true rand.workspace = true
serde = "1"
serde_json.workspace = true

View File

@ -7,7 +7,6 @@ edition = "2021"
actix-files.workspace = true actix-files.workspace = true
actix-web.workspace = true actix-web.workspace = true
actix-ws.workspace = true actix-ws.workspace = true
awc.workspace = true
env_logger.workspace = true env_logger.workspace = true
futures-util.workspace = true futures-util.workspace = true

View File

@ -13,7 +13,6 @@ path = "src/client.rs"
[dependencies] [dependencies]
actix.workspace = true actix.workspace = true
actix-codec.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