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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -5,8 +5,6 @@ edition = "2021"
[dependencies]
actix-web = { workspace = true, features = ["rustls"] }
actix-web-lab.workspace = true
env_logger.workspace = true
futures-util.workspace = true
log.workspace = true

View File

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

View File

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

View File

@ -10,5 +10,3 @@ env_logger.workspace = true
futures-util.workspace = true
log.workspace = true
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
log.workspace = true
parking_lot = "0.12"
tokio = { workspace = true, features = ["signal"] }

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -13,7 +13,6 @@ path = "src/client.rs"
[dependencies]
actix.workspace = true
actix-codec.workspace = true
actix-files.workspace = true
actix-web.workspace = true
actix-web-actors.workspace = true