1
0
mirror of https://github.com/actix/examples synced 2024-11-27 16:02:57 +01:00

use workspace deps for log and env_logger

This commit is contained in:
Rob Ede 2022-12-30 16:25:40 +00:00
parent 061860743f
commit 66c7e1e9b5
No known key found for this signature in database
GPG Key ID: 97C636207D3EF933
56 changed files with 98 additions and 97 deletions

View File

@ -86,3 +86,4 @@ actix-web-lab = "0.18"
actix-ws = "0.2.5" actix-ws = "0.2.5"
env_logger = "0.10" env_logger = "0.10"
log = "0.4"

View File

@ -8,5 +8,5 @@ actix-web = { 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 = "0.10" env_logger.workspace = true
rand = "0.8" rand = "0.8"

View File

@ -6,5 +6,5 @@ edition = "2021"
[dependencies] [dependencies]
actix-web = { workspace = true } actix-web = { workspace = true }
actix-session = { workspace = true, features = ["cookie-session"] } actix-session = { workspace = true, features = ["cookie-session"] }
log = "0.4" log.workspace = true
env_logger = "0.10" env_logger.workspace = true

View File

@ -7,8 +7,8 @@ edition = "2021"
actix-web = { workspace = true } actix-web = { workspace = true }
actix-session = { workspace = true, features = ["redis-actor-session"] } actix-session = { workspace = true, features = ["redis-actor-session"] }
env_logger = "0.10" env_logger.workspace = true
log = "0.4" log.workspace = true
serde = { version = "1", features = ["derive"] } serde = { version = "1", features = ["derive"] }
serde_json = "1" serde_json = "1"

View File

@ -12,7 +12,7 @@ chrono = { version = "0.4", features = ["serde"] }
derive_more = "0.99.5" derive_more = "0.99.5"
diesel = { version = "2", features = ["postgres", "r2d2", "uuid", "chrono"] } diesel = { version = "2", features = ["postgres", "r2d2", "uuid", "chrono"] }
dotenv = "0.15" dotenv = "0.15"
env_logger = "0.10" env_logger.workspace = true
once_cell = "1" once_cell = "1"
r2d2 = "0.8" r2d2 = "0.8"
rust-argon2 = "1" rust-argon2 = "1"

View File

@ -11,7 +11,7 @@ apalis = { version = "0.3", features = ["redis"] }
chrono = { version = "0.4.20", default-features = false, features = ["clock", "serde"] } chrono = { version = "0.4.20", default-features = false, features = ["clock", "serde"] }
dotenv = "0.15" dotenv = "0.15"
env_logger.workspace = true env_logger.workspace = true
log = "0.4" log.workspace = true
rand = "0.8" rand = "0.8"
serde = { version = "1", features = ["derive"] } serde = { version = "1", features = ["derive"] }
tokio = { version = "1.13.1", features = ["sync", "rt-multi-thread", "macros"] } tokio = { version = "1.13.1", features = ["sync", "rt-multi-thread", "macros"] }

View File

@ -9,5 +9,5 @@ actix-session = { workspace = true, features = ["cookie-session"] }
actix-web = { workspace = true } actix-web = { workspace = true }
async-stream = "0.3" async-stream = "0.3"
env_logger = "0.10" env_logger.workspace = true
log = "0.4" log.workspace = true

View File

@ -7,6 +7,6 @@ edition = "2021"
actix-web = { workspace = true } actix-web = { workspace = true }
derive_more = "0.99.5" derive_more = "0.99.5"
env_logger = "0.10" env_logger.workspace = true
log = "0.4" log.workspace = true
rand = "0.8" rand = "0.8"

View File

@ -5,4 +5,4 @@ edition = "2021"
[dependencies] [dependencies]
actix-web = { workspace = true } actix-web = { workspace = true }
env_logger = "0.10" env_logger.workspace = true

View File

@ -5,6 +5,6 @@ edition = "2021"
[dependencies] [dependencies]
actix-web = { workspace = true, features = ["openssl"] } actix-web = { workspace = true, features = ["openssl"] }
env_logger = "0.10" env_logger.workspace = true
serde = { version = "^1.0", features = ["derive"] } serde = { version = "^1.0", features = ["derive"] }
serde_json = "1.0.39" serde_json = "1.0.39"

View File

@ -5,4 +5,4 @@ edition = "2021"
[dependencies] [dependencies]
actix-web = { workspace = true } actix-web = { workspace = true }
env_logger = "0.10" env_logger.workspace = true

View File

@ -6,5 +6,5 @@ edition = "2021"
[dependencies] [dependencies]
actix-web = { workspace = true } actix-web = { workspace = true }
actix-files = { workspace = true } actix-files = { workspace = true }
env_logger = "0.10" env_logger.workspace = true
log = "0.4" log.workspace = true

View File

@ -10,8 +10,8 @@ actix-web = { workspace = true }
actix-web-lab = { workspace = true } actix-web-lab = { workspace = true }
dotenv = "0.15" dotenv = "0.15"
env_logger = "0.10" env_logger.workspace = true
log = "0.4" log.workspace = true
serde = { version = "1", features = ["derive"] } serde = { version = "1", features = ["derive"] }
serde_json = "1" serde_json = "1"
sqlx = { version = "0.6", features = ["runtime-tokio-rustls", "sqlite", "offline"] } sqlx = { version = "0.6", features = ["runtime-tokio-rustls", "sqlite", "offline"] }

View File

@ -7,6 +7,6 @@ edition = "2021"
actix-web = { workspace = true, features = ["rustls"] } actix-web = { workspace = true, features = ["rustls"] }
actix-cors = { workspace = true } actix-cors = { workspace = true }
env_logger = "0.10" env_logger.workspace = true
serde = { version = "1.0", features = ["derive"] } serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0" serde_json = "1.0"

View File

@ -6,5 +6,5 @@ edition = "2021"
[dependencies] [dependencies]
actix-web = { workspace = true } actix-web = { workspace = true }
env_logger = "0.10" env_logger.workspace = true
log = "0.4" log.workspace = true

View File

@ -7,8 +7,8 @@ edition = "2021"
actix-web = { workspace = true } actix-web = { workspace = true }
diesel = { version = "2", features = ["sqlite", "r2d2"] } diesel = { version = "2", features = ["sqlite", "r2d2"] }
dotenv = "0.15" dotenv = "0.15"
env_logger = "0.10" env_logger.workspace = true
log = "0.4" log.workspace = true
serde = { version = "1.0", features = ["derive"] } serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0" serde_json = "1.0"
uuid = { version = "1", features = ["v4", "serde"] } uuid = { version = "1", features = ["v4", "serde"] }

View File

@ -6,8 +6,8 @@ edition = "2021"
[dependencies] [dependencies]
actix-web = { workspace = true } actix-web = { workspace = true }
env_logger = "0.10" env_logger.workspace = true
futures-util = { version = "0.3.17", default-features = false, features = ["std"] } futures-util = { version = "0.3.17", default-features = false, features = ["std"] }
log = "0.4" log.workspace = true
redis = { version = "0.22", default-features = false, features = ["tokio-comp", "connection-manager"] } redis = { version = "0.22", default-features = false, features = ["tokio-comp", "connection-manager"] }
serde = { version = "1", features = ["derive"] } serde = { version = "1", features = ["derive"] }

View File

@ -6,9 +6,9 @@ edition = "2021"
[dependencies] [dependencies]
actix-web = { workspace = true } actix-web = { workspace = true }
env_logger = "0.10" env_logger.workspace = true
futures-util = { version = "0.3", default-features = false, features = ["std"] } futures-util = { version = "0.3", default-features = false, features = ["std"] }
log = "0.4" log.workspace = true
r2d2 = "0.8" r2d2 = "0.8"
r2d2_sqlite = "0.20" # 0.21.0 blocked on sqlx sqlite update r2d2_sqlite = "0.20" # 0.21.0 blocked on sqlx sqlite update
rusqlite = "0.27" # 0.28.0 blocked on sqlx sqlite update rusqlite = "0.27" # 0.28.0 blocked on sqlx sqlite update

View File

@ -5,5 +5,5 @@ edition = "2021"
[dependencies] [dependencies]
actix-web = { workspace = true } actix-web = { workspace = true }
env_logger = "0.10" env_logger.workspace = true
log = "0.4" log.workspace = true

View File

@ -12,9 +12,9 @@ aws-config = "0.51"
aws-sdk-s3 = "0.21" aws-sdk-s3 = "0.21"
dotenv = "0.15" dotenv = "0.15"
env_logger = "0.10" env_logger.workspace = true
futures-util = { version = "0.3.17", default-features = false, features = ["std"] } futures-util = { version = "0.3.17", default-features = false, features = ["std"] }
log = "0.4" log.workspace = true
sanitize-filename = "0.4" sanitize-filename = "0.4"
serde = { version = "1", features = ["derive"] } serde = { version = "1", features = ["derive"] }
serde_json = "1" serde_json = "1"

View File

@ -12,6 +12,6 @@ actix-cors = { workspace = true }
async-graphql = "5" async-graphql = "5"
async-graphql-actix-web = "5" async-graphql-actix-web = "5"
env_logger = "0.10" env_logger.workspace = true
log = "0.4" log.workspace = true
slab = "0.4" slab = "0.4"

View File

@ -15,8 +15,8 @@ r2d2 = "0.8"
r2d2_mysql = "23" r2d2_mysql = "23"
dotenv = "0.15" dotenv = "0.15"
env_logger = "0.10" env_logger.workspace = true
log = "0.4" log.workspace = true
serde = { version = "1", features = ["derive"] } serde = { version = "1", features = ["derive"] }
serde_json = "1" serde_json = "1"
uuid = { version = "1", features = ["v4", "serde"] } uuid = { version = "1", features = ["v4", "serde"] }

View File

@ -10,7 +10,7 @@ actix-cors = { workspace = true }
juniper = "0.15" juniper = "0.15"
env_logger = "0.10" env_logger.workspace = true
log = "0.4" log.workspace = true
serde = { version = "1", features = ["derive"] } serde = { version = "1", features = ["derive"] }
serde_json = "1" serde_json = "1"

View File

@ -8,6 +8,6 @@ actix-web = { workspace = true, features = ["openssl"] }
awc = "3" awc = "3"
clap = { version = "4", features = ["derive"] } clap = { version = "4", features = ["derive"] }
env_logger = "0.10" env_logger.workspace = true
log = "0.4" log.workspace = true
url = "2.2" url = "2.2"

View File

@ -7,8 +7,8 @@ edition = "2021"
actix-web = { workspace = true } actix-web = { workspace = true }
awc = { version = "3", features = ["rustls"] } awc = { version = "3", features = ["rustls"] }
env_logger = "0.10" env_logger.workspace = true
log = "0.4" log.workspace = true
mime = "0.3" mime = "0.3"
rustls = "0.20" rustls = "0.20"
webpki-roots = "0.22" webpki-roots = "0.22"

View File

@ -9,7 +9,7 @@ actix-files = { workspace = true }
acme-micro = "0.12" acme-micro = "0.12"
anyhow = "1" anyhow = "1"
env_logger = "0.10" env_logger.workspace = true
log = "0.4" log.workspace = true
openssl = { version = "0.10", features = ["v110"] } openssl = { version = "0.10", features = ["v110"] }
reqwest = "0.11" reqwest = "0.11"

View File

@ -5,5 +5,5 @@ edition = "2021"
[dependencies] [dependencies]
actix-web = { workspace = true, features = ["openssl"] } actix-web = { workspace = true, features = ["openssl"] }
env_logger = "0.10" env_logger.workspace = true
openssl = "0.10" openssl = "0.10"

View File

@ -6,7 +6,7 @@ edition = "2021"
[dependencies] [dependencies]
actix-tls = { workspace = true } actix-tls = { workspace = true }
actix-web = { workspace = true, features = ["rustls"] } actix-web = { workspace = true, features = ["rustls"] }
env_logger = "0.10" env_logger.workspace = true
log = "0.4" log.workspace = true
rustls = "0.20" rustls = "0.20"
rustls-pemfile = "1" rustls-pemfile = "1"

View File

@ -12,7 +12,7 @@ actix-web = { workspace = true, features = ["rustls"] }
actix-web-lab = { workspace = true } actix-web-lab = { workspace = true }
actix-files = { workspace = true } actix-files = { workspace = true }
env_logger = "0.10" env_logger.workspace = true
log = "0.4" log.workspace = true
rustls = "0.20.2" rustls = "0.20.2"
rustls-pemfile = "1" rustls-pemfile = "1"

View File

@ -6,6 +6,6 @@ edition = "2021"
[dependencies] [dependencies]
actix-web = { workspace = true } actix-web = { workspace = true }
env_logger = "0.10" env_logger.workspace = true
log = "0.4" log.workspace = true
serde = "1" serde = "1"

View File

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

View File

@ -7,9 +7,9 @@ edition = "2021"
actix-web = { workspace = true } actix-web = { workspace = true }
awc = { version = "3", features = ["openssl"] } awc = { version = "3", features = ["openssl"] }
env_logger = "0.10" env_logger.workspace = true
futures-util = { version = "0.3.17", default-features = false, features = ["std"] } futures-util = { version = "0.3.17", default-features = false, features = ["std"] }
log = "0.4" log.workspace = true
serde = { version = "1", features = ["derive"] } serde = { version = "1", features = ["derive"] }
serde_json = "1" serde_json = "1"
validator = { version = "0.16", features = ["derive"] } validator = { version = "0.16", features = ["derive"] }

View File

@ -6,9 +6,9 @@ edition = "2021"
[dependencies] [dependencies]
actix-web = { workspace = true } actix-web = { workspace = true }
env_logger = "0.10" env_logger.workspace = true
futures-util = { version = "0.3.17", default-features = false, features = ["std"] } futures-util = { version = "0.3.17", default-features = false, features = ["std"] }
json = "0.12" json = "0.12"
log = "0.4" log.workspace = true
serde = { version = "1.0", features = ["derive"] } serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0" serde_json = "1.0"

View File

@ -7,8 +7,8 @@ edition = "2021"
actix-web = { workspace = true } actix-web = { workspace = true }
bytes = "1.1.0" bytes = "1.1.0"
env_logger = "0.10" env_logger.workspace = true
futures-util = { version = "0.3.17", default-features = false, features = ["std"] } futures-util = { version = "0.3.17", default-features = false, features = ["std"] }
log = "0.4" log.workspace = true
serde = { version = "1.0", features = ["derive"] } serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0.78" serde_json = "1.0.78"

View File

@ -10,9 +10,9 @@ actix-web-lab = { workspace = true }
aes-gcm-siv = "0.11" aes-gcm-siv = "0.11"
base64 = "0.20" base64 = "0.20"
env_logger = "0.10" env_logger.workspace = true
futures-util = { version = "0.3.17", default-features = false, features = ["std"] } futures-util = { version = "0.3.17", default-features = false, features = ["std"] }
log = "0.4" log.workspace = true
pin-project = "1" pin-project = "1"
serde = { version = "1", features = ["derive"] } serde = { version = "1", features = ["derive"] }
serde_json = "1" serde_json = "1"

View File

@ -5,5 +5,5 @@ edition = "2021"
[dependencies] [dependencies]
actix-web = { workspace = true } actix-web = { workspace = true }
log = "0.4" log.workspace = true
env_logger = "0.10" env_logger.workspace = true

View File

@ -7,8 +7,8 @@ edition = "2021"
actix-web = { workspace = true, features = ["rustls"] } actix-web = { workspace = true, features = ["rustls"] }
actix-web-lab = { workspace = true } actix-web-lab = { workspace = true }
env_logger = "0.10" env_logger.workspace = true
futures-util = { version = "0.3.17", default-features = false, features = ["std"] } futures-util = { version = "0.3.17", default-features = false, features = ["std"] }
log = "0.4" log.workspace = true
rustls = "0.20" rustls = "0.20"
rustls-pemfile = "1" rustls-pemfile = "1"

View File

@ -8,7 +8,7 @@ actix-http = { workspace = true }
actix-web = { workspace = true } actix-web = { workspace = true }
actix-web-lab = { workspace = true } actix-web-lab = { workspace = true }
env_logger = "0.10" env_logger.workspace = true
futures-util = { version = "0.3.17", default-features = false, features = ["std"] } futures-util = { version = "0.3.17", default-features = false, features = ["std"] }
log = "0.4" log.workspace = true
pin-project = "1" pin-project = "1"

View File

@ -7,7 +7,7 @@ edition = "2021"
actix-protobuf = { workspace = true } actix-protobuf = { workspace = true }
actix-web = { workspace = true } actix-web = { workspace = true }
env_logger = "0.10" env_logger.workspace = true
log = "0.4" log.workspace = true
prost = "0.11" prost = "0.11"
prost-derive = "0.11" prost-derive = "0.11"

View File

@ -7,5 +7,5 @@ description = "Run Actix Web in separate thread"
[dependencies] [dependencies]
actix-web = { workspace = true } actix-web = { workspace = true }
env_logger = "0.10" env_logger.workspace = true
log = "0.4" log.workspace = true

View File

@ -6,9 +6,9 @@ edition = "2021"
[dependencies] [dependencies]
actix-web = { workspace = true } actix-web = { workspace = true }
actix-web-lab = { workspace = true } actix-web-lab = { workspace = true }
env_logger = "0.10" env_logger.workspace = true
futures-util = { version = "0.3.17", default-features = false, features = ["std"] } futures-util = { version = "0.3.17", default-features = false, features = ["std"] }
log = "0.4" log.workspace = true
parking_lot = "0.12" parking_lot = "0.12"
tokio = { version = "1.13.1", features = ["sync"] } tokio = { version = "1.13.1", features = ["sync"] }
tokio-stream = { version = "0.1.8", features = ["time"] } tokio-stream = { version = "0.1.8", features = ["time"] }

View File

@ -8,7 +8,7 @@ description = "Send a request to the server to shut it down"
actix-web = { workspace = true } actix-web = { workspace = true }
actix-web-lab = { workspace = true } actix-web-lab = { workspace = true }
env_logger = "0.10" env_logger.workspace = true
log = "0.4" log.workspace = true
parking_lot = "0.12" parking_lot = "0.12"
tokio = { version = "1.13.1", features = ["signal"] } tokio = { version = "1.13.1", features = ["signal"] }

View File

@ -4,7 +4,7 @@ version = "1.0.0"
edition = "2021" edition = "2021"
[dependencies] [dependencies]
env_logger = "0.10" env_logger.workspace = true
actix-web = { workspace = true } actix-web = { workspace = true }
askama = "0.11.0" askama = "0.11.0"

View File

@ -8,7 +8,7 @@ actix-web = { workspace = true }
actix-web-lab = { workspace = true } actix-web-lab = { workspace = true }
actix-utils = { workspace = true } actix-utils = { workspace = true }
env_logger = "0.10" env_logger.workspace = true
log = "0.4" log.workspace = true
minijinja = { version = "0.27", features = ["source"] } minijinja = { version = "0.27", features = ["source"] }
minijinja-autoreload = "0.27" minijinja-autoreload = "0.27"

View File

@ -7,6 +7,6 @@ edition = "2021"
actix-web = { workspace = true } actix-web = { workspace = true }
actix-web-lab = { workspace = true } actix-web-lab = { workspace = true }
env_logger = "0.10" env_logger.workspace = true
log = "0.4" log.workspace = true
sailfish = "0.5" sailfish = "0.5"

View File

@ -7,5 +7,5 @@ edition = "2021"
actix-web = { workspace = true } actix-web = { workspace = true }
actix-web-lab = { workspace = true } actix-web-lab = { workspace = true }
env_logger = "0.10" env_logger.workspace = true
tera = "1.8.0" tera = "1.8.0"

View File

@ -4,7 +4,7 @@ version = "1.0.0"
edition = "2021" edition = "2021"
[dependencies] [dependencies]
env_logger = "0.10" env_logger.workspace = true
tinytemplate = "1.1" tinytemplate = "1.1"
actix-web = { workspace = true } actix-web = { workspace = true }
serde_json = "1" serde_json = "1"

View File

@ -6,7 +6,7 @@ edition = "2021"
[dependencies] [dependencies]
actix-web = { workspace = true } actix-web = { workspace = true }
env_logger = "0.10" env_logger.workspace = true
yarte = { version = "0.15", features = ["bytes-buf", "html-min"] } yarte = { version = "0.15", features = ["bytes-buf", "html-min"] }
derive_more = "0.99" derive_more = "0.99"

View File

@ -4,5 +4,5 @@ version = "1.0.0"
edition = "2021" edition = "2021"
[dependencies] [dependencies]
env_logger = "0.10" env_logger.workspace = true
actix-web = { workspace = true } actix-web = { workspace = true }

View File

@ -12,5 +12,5 @@ actix = { workspace = true }
actix-web = { workspace = true } actix-web = { workspace = true }
actix-web-actors = { workspace = true } actix-web-actors = { workspace = true }
env_logger = "0.10" env_logger.workspace = true
log = "0.4" log.workspace = true

View File

@ -10,8 +10,8 @@ actix-ws = { workspace = true }
awc = "3" awc = "3"
derive_more = "0.99.5" derive_more = "0.99.5"
env_logger = "0.10" env_logger.workspace = true
futures-util = { version = "0.3.17", default-features = false, features = ["std"] } futures-util = { version = "0.3.17", default-features = false, features = ["std"] }
log = "0.4" log.workspace = true
rand = "0.8" rand = "0.8"
tokio = { version = "1.13.1", features = ["rt", "macros", "sync", "time"] } tokio = { version = "1.13.1", features = ["rt", "macros", "sync", "time"] }

View File

@ -14,6 +14,6 @@ actix-files = { workspace = true }
actix-web = { workspace = true } actix-web = { workspace = true }
actix-web-actors = { workspace = true } actix-web-actors = { workspace = true }
env_logger = "0.10" env_logger.workspace = true
log = "0.4" log.workspace = true
rand = "0.8" rand = "0.8"

View File

@ -20,9 +20,9 @@ actix-web-actors = { workspace = true }
byteorder = "1.2" byteorder = "1.2"
bytes = "1" bytes = "1"
env_logger = "0.10" env_logger.workspace = true
futures-util = { version = "0.3.17", default-features = false, features = ["std", "sink"] } futures-util = { version = "0.3.17", default-features = false, features = ["std", "sink"] }
log = "0.4" log.workspace = true
rand = "0.8" rand = "0.8"
serde = { version = "1", features = ["derive"] } serde = { version = "1", features = ["derive"] }
serde_json = "1" serde_json = "1"

View File

@ -13,8 +13,8 @@ actix-files = { workspace = true }
actix-web = { workspace = true } actix-web = { workspace = true }
actix-web-actors = { workspace = true } actix-web-actors = { workspace = true }
env_logger = "0.10" env_logger.workspace = true
log = "0.4" log.workspace = true
rand = "0.8" rand = "0.8"
serde = "1" serde = "1"
serde_json = "1" serde_json = "1"

View File

@ -9,7 +9,7 @@ actix-web = { workspace = true }
actix-ws = { workspace = true } actix-ws = { workspace = true }
awc = "3" awc = "3"
env_logger = "0.10" env_logger.workspace = true
futures-util = { version = "0.3.17", default-features = false, features = ["std"] } futures-util = { version = "0.3.17", default-features = false, features = ["std"] }
log = "0.4" log.workspace = true
tokio = { version = "1.13.1", features = ["rt", "macros", "sync", "time"] } tokio = { version = "1.13.1", features = ["rt", "macros", "sync", "time"] }

View File

@ -19,8 +19,8 @@ actix-web = { workspace = true }
actix-web-actors = { workspace = true } actix-web-actors = { workspace = true }
awc = "3" awc = "3"
env_logger = "0.10" env_logger.workspace = true
futures-util = { version = "0.3.17", default-features = false, features = ["std", "sink"] } futures-util = { version = "0.3.17", default-features = false, features = ["std", "sink"] }
log = "0.4" log.workspace = true
tokio = { version = "1.13.1", features = ["full"] } tokio = { version = "1.13.1", features = ["full"] }
tokio-stream = "0.1.8" tokio-stream = "0.1.8"