1
0
mirror of https://github.com/actix/examples synced 2024-11-23 14:31:07 +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"
env_logger = "0.10"
log = "0.4"

View File

@ -8,5 +8,5 @@ actix-web = { workspace = true }
actix-identity = { workspace = true }
actix-session = { workspace = true, features = ["cookie-session"] }
env_logger = "0.10"
env_logger.workspace = true
rand = "0.8"

View File

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

View File

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

View File

@ -12,7 +12,7 @@ chrono = { version = "0.4", features = ["serde"] }
derive_more = "0.99.5"
diesel = { version = "2", features = ["postgres", "r2d2", "uuid", "chrono"] }
dotenv = "0.15"
env_logger = "0.10"
env_logger.workspace = true
once_cell = "1"
r2d2 = "0.8"
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"] }
dotenv = "0.15"
env_logger.workspace = true
log = "0.4"
log.workspace = true
rand = "0.8"
serde = { version = "1", features = ["derive"] }
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 }
async-stream = "0.3"
env_logger = "0.10"
log = "0.4"
env_logger.workspace = true
log.workspace = true

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -10,8 +10,8 @@ actix-web = { workspace = true }
actix-web-lab = { workspace = true }
dotenv = "0.15"
env_logger = "0.10"
log = "0.4"
env_logger.workspace = true
log.workspace = true
serde = { version = "1", features = ["derive"] }
serde_json = "1"
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-cors = { workspace = true }
env_logger = "0.10"
env_logger.workspace = true
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"

View File

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

View File

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

View File

@ -6,8 +6,8 @@ edition = "2021"
[dependencies]
actix-web = { workspace = true }
env_logger = "0.10"
env_logger.workspace = true
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"] }
serde = { version = "1", features = ["derive"] }

View File

@ -6,9 +6,9 @@ edition = "2021"
[dependencies]
actix-web = { workspace = true }
env_logger = "0.10"
env_logger.workspace = true
futures-util = { version = "0.3", default-features = false, features = ["std"] }
log = "0.4"
log.workspace = true
r2d2 = "0.8"
r2d2_sqlite = "0.20" # 0.21.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]
actix-web = { workspace = true }
env_logger = "0.10"
log = "0.4"
env_logger.workspace = true
log.workspace = true

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -8,7 +8,7 @@ actix-http = { workspace = true }
actix-web = { 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"] }
log = "0.4"
log.workspace = true
pin-project = "1"

View File

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

View File

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

View File

@ -6,9 +6,9 @@ edition = "2021"
[dependencies]
actix-web = { 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"] }
log = "0.4"
log.workspace = true
parking_lot = "0.12"
tokio = { version = "1.13.1", features = ["sync"] }
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-lab = { workspace = true }
env_logger = "0.10"
log = "0.4"
env_logger.workspace = true
log.workspace = true
parking_lot = "0.12"
tokio = { version = "1.13.1", features = ["signal"] }

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -10,8 +10,8 @@ actix-ws = { workspace = true }
awc = "3"
derive_more = "0.99.5"
env_logger = "0.10"
env_logger.workspace = true
futures-util = { version = "0.3.17", default-features = false, features = ["std"] }
log = "0.4"
log.workspace = true
rand = "0.8"
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-actors = { workspace = true }
env_logger = "0.10"
log = "0.4"
env_logger.workspace = true
log.workspace = true
rand = "0.8"

View File

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

View File

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

View File

@ -9,7 +9,7 @@ actix-web = { workspace = true }
actix-ws = { workspace = true }
awc = "3"
env_logger = "0.10"
env_logger.workspace = true
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"] }

View File

@ -19,8 +19,8 @@ actix-web = { workspace = true }
actix-web-actors = { workspace = true }
awc = "3"
env_logger = "0.10"
env_logger.workspace = true
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-stream = "0.1.8"