mirror of
https://github.com/actix/examples
synced 2024-11-27 16:02:57 +01:00
move serde deps to workspace
This commit is contained in:
parent
91ffa11e19
commit
9e4882285e
@ -89,4 +89,6 @@ awc = "3"
|
|||||||
env_logger = "0.10"
|
env_logger = "0.10"
|
||||||
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 = "0.4"
|
||||||
|
serde = { version = "1", features = ["derive"] }
|
||||||
|
serde_json = "1"
|
||||||
tokio = { version = "1.13.1", features = ["sync"] }
|
tokio = { version = "1.13.1", features = ["sync"] }
|
||||||
|
@ -9,8 +9,8 @@ actix-session = { workspace = true, features = ["redis-actor-session"] }
|
|||||||
|
|
||||||
env_logger.workspace = true
|
env_logger.workspace = true
|
||||||
log.workspace = true
|
log.workspace = true
|
||||||
serde = { version = "1", features = ["derive"] }
|
serde.workspace = true
|
||||||
serde_json = "1"
|
serde_json.workspace = true
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
actix-test.workspace = true
|
actix-test.workspace = true
|
||||||
|
@ -16,8 +16,8 @@ env_logger.workspace = true
|
|||||||
once_cell = "1"
|
once_cell = "1"
|
||||||
r2d2 = "0.8"
|
r2d2 = "0.8"
|
||||||
rust-argon2 = "1"
|
rust-argon2 = "1"
|
||||||
serde = { version = "1", features = ["derive"] }
|
serde.workspace = true
|
||||||
serde_json = "1"
|
serde_json.workspace = true
|
||||||
sparkpost = "0.5"
|
sparkpost = "0.5"
|
||||||
uuid = { version = "1", features = ["v4", "serde"] }
|
uuid = { version = "1", features = ["v4", "serde"] }
|
||||||
time = "0.3"
|
time = "0.3"
|
||||||
|
@ -13,6 +13,6 @@ dotenv = "0.15"
|
|||||||
env_logger.workspace = true
|
env_logger.workspace = true
|
||||||
log.workspace = true
|
log.workspace = true
|
||||||
rand = "0.8"
|
rand = "0.8"
|
||||||
serde = { version = "1", features = ["derive"] }
|
serde.workspace = true
|
||||||
tokio = { workspace = true, features = ["rt-multi-thread", "macros"] }
|
tokio = { workspace = true, features = ["rt-multi-thread", "macros"] }
|
||||||
tokio-util = "0.7.4"
|
tokio-util = "0.7.4"
|
||||||
|
@ -7,5 +7,5 @@ edition = "2021"
|
|||||||
actix-web.workspace = true
|
actix-web.workspace = true
|
||||||
env_logger.workspace = true
|
env_logger.workspace = true
|
||||||
log.workspace = true
|
log.workspace = true
|
||||||
serde = { version = "1", features = ["derive"] }
|
serde.workspace = true
|
||||||
serde_json = "1"
|
serde_json.workspace = true
|
||||||
|
@ -12,7 +12,7 @@ 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 = { version = "1", features = ["derive"] }
|
serde.workspace = true
|
||||||
serde_json = "1"
|
serde_json.workspace = true
|
||||||
sqlx = { version = "0.6", features = ["runtime-tokio-rustls", "sqlite", "offline"] }
|
sqlx = { version = "0.6", features = ["runtime-tokio-rustls", "sqlite", "offline"] }
|
||||||
tera = "1.5"
|
tera = "1.5"
|
||||||
|
@ -9,4 +9,4 @@ actix-cors.workspace = true
|
|||||||
|
|
||||||
env_logger.workspace = true
|
env_logger.workspace = true
|
||||||
serde = { version = "1.0", features = ["derive"] }
|
serde = { version = "1.0", features = ["derive"] }
|
||||||
serde_json = "1.0"
|
serde_json.workspace = true
|
||||||
|
@ -10,5 +10,5 @@ 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 = "1.0"
|
serde_json.workspace = true
|
||||||
uuid = { version = "1", features = ["v4", "serde"] }
|
uuid = { version = "1", features = ["v4", "serde"] }
|
||||||
|
@ -6,4 +6,4 @@ edition = "2021"
|
|||||||
[dependencies]
|
[dependencies]
|
||||||
actix-web.workspace = true
|
actix-web.workspace = true
|
||||||
mongodb = "2"
|
mongodb = "2"
|
||||||
serde = { version = "1", features = ["derive"] }
|
serde.workspace = true
|
||||||
|
@ -10,4 +10,4 @@ env_logger.workspace = true
|
|||||||
futures-util.workspace = true
|
futures-util.workspace = true
|
||||||
log.workspace = true
|
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.workspace = true
|
||||||
|
@ -12,5 +12,5 @@ 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
|
||||||
serde = { version = "1", features = ["derive"] }
|
serde.workspace = true
|
||||||
serde_json = "1"
|
serde_json.workspace = true
|
||||||
|
@ -5,4 +5,4 @@ edition = "2021"
|
|||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
actix-web.workspace = true
|
actix-web.workspace = true
|
||||||
serde = { version = "1", features = ["derive"] }
|
serde.workspace = true
|
||||||
|
@ -16,6 +16,6 @@ env_logger.workspace = true
|
|||||||
futures-util.workspace = true
|
futures-util.workspace = true
|
||||||
log.workspace = true
|
log.workspace = true
|
||||||
sanitize-filename = "0.4"
|
sanitize-filename = "0.4"
|
||||||
serde = { version = "1", features = ["derive"] }
|
serde.workspace = true
|
||||||
serde_json = "1"
|
serde_json.workspace = true
|
||||||
tokio = { workspace = true, features = ["io-util", "fs"] }
|
tokio = { workspace = true, features = ["io-util", "fs"] }
|
||||||
|
@ -17,6 +17,6 @@ r2d2_mysql = "23"
|
|||||||
dotenv = "0.15"
|
dotenv = "0.15"
|
||||||
env_logger.workspace = true
|
env_logger.workspace = true
|
||||||
log.workspace = true
|
log.workspace = true
|
||||||
serde = { version = "1", features = ["derive"] }
|
serde.workspace = true
|
||||||
serde_json = "1"
|
serde_json.workspace = true
|
||||||
uuid = { version = "1", features = ["v4", "serde"] }
|
uuid = { version = "1", features = ["v4", "serde"] }
|
||||||
|
@ -12,5 +12,5 @@ juniper = "0.15"
|
|||||||
|
|
||||||
env_logger.workspace = true
|
env_logger.workspace = true
|
||||||
log.workspace = true
|
log.workspace = true
|
||||||
serde = { version = "1", features = ["derive"] }
|
serde.workspace = true
|
||||||
serde_json = "1"
|
serde_json.workspace = true
|
||||||
|
@ -9,4 +9,4 @@ actix-web.workspace = true
|
|||||||
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 = "1.0"
|
serde_json.workspace = true
|
||||||
|
@ -10,6 +10,6 @@ awc = { workspace = true, features = ["openssl"] }
|
|||||||
env_logger.workspace = true
|
env_logger.workspace = true
|
||||||
futures-util.workspace = true
|
futures-util.workspace = true
|
||||||
log.workspace = true
|
log.workspace = true
|
||||||
serde = { version = "1", features = ["derive"] }
|
serde.workspace = true
|
||||||
serde_json = "1"
|
serde_json.workspace = true
|
||||||
validator = { version = "0.16", features = ["derive"] }
|
validator = { version = "0.16", features = ["derive"] }
|
||||||
|
@ -11,4 +11,4 @@ futures-util.workspace = true
|
|||||||
json = "0.12"
|
json = "0.12"
|
||||||
log.workspace = true
|
log.workspace = true
|
||||||
serde = { version = "1.0", features = ["derive"] }
|
serde = { version = "1.0", features = ["derive"] }
|
||||||
serde_json = "1.0"
|
serde_json.workspace = true
|
||||||
|
@ -11,4 +11,4 @@ env_logger.workspace = true
|
|||||||
futures-util.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 = "1.0.78"
|
serde_json.workspace = true
|
||||||
|
@ -14,5 +14,5 @@ env_logger.workspace = true
|
|||||||
futures-util.workspace = true
|
futures-util.workspace = true
|
||||||
log.workspace = true
|
log.workspace = true
|
||||||
pin-project = "1"
|
pin-project = "1"
|
||||||
serde = { version = "1", features = ["derive"] }
|
serde.workspace = true
|
||||||
serde_json = "1"
|
serde_json.workspace = true
|
||||||
|
@ -8,5 +8,5 @@ actix-web.workspace = true
|
|||||||
actix-web-lab.workspace = true
|
actix-web-lab.workspace = true
|
||||||
fluent-templates = { version = "0.8", features = ["handlebars"] }
|
fluent-templates = { version = "0.8", features = ["handlebars"] }
|
||||||
handlebars = { version = "4.3", features = ["dir_source"] }
|
handlebars = { version = "4.3", features = ["dir_source"] }
|
||||||
serde = { version = "1", features = ["derive"] }
|
serde.workspace = true
|
||||||
serde_json = "1"
|
serde_json.workspace = true
|
||||||
|
@ -6,4 +6,4 @@ edition = "2021"
|
|||||||
[dependencies]
|
[dependencies]
|
||||||
actix-web.workspace = true
|
actix-web.workspace = true
|
||||||
handlebars = { version = "4.2.1", features = ["dir_source"] }
|
handlebars = { version = "4.2.1", features = ["dir_source"] }
|
||||||
serde_json = "1.0"
|
serde_json.workspace = true
|
||||||
|
@ -7,4 +7,4 @@ edition = "2021"
|
|||||||
env_logger.workspace = true
|
env_logger.workspace = true
|
||||||
tinytemplate = "1.1"
|
tinytemplate = "1.1"
|
||||||
actix-web.workspace = true
|
actix-web.workspace = true
|
||||||
serde_json = "1"
|
serde_json.workspace = true
|
||||||
|
@ -24,8 +24,8 @@ env_logger.workspace = true
|
|||||||
futures-util = { workspace = true, features = ["sink"] }
|
futures-util = { workspace = true, features = ["sink"] }
|
||||||
log.workspace = true
|
log.workspace = true
|
||||||
rand = "0.8"
|
rand = "0.8"
|
||||||
serde = { version = "1", features = ["derive"] }
|
serde.workspace = true
|
||||||
serde_json = "1"
|
serde_json.workspace = true
|
||||||
tokio = { workspace = true, features = ["full"] }
|
tokio = { workspace = true, features = ["full"] }
|
||||||
tokio-util = { version = "0.7", features = ["codec"] }
|
tokio-util = { version = "0.7", features = ["codec"] }
|
||||||
tokio-stream = "0.1.8"
|
tokio-stream = "0.1.8"
|
||||||
|
@ -17,4 +17,4 @@ env_logger.workspace = true
|
|||||||
log.workspace = true
|
log.workspace = true
|
||||||
rand = "0.8"
|
rand = "0.8"
|
||||||
serde = "1"
|
serde = "1"
|
||||||
serde_json = "1"
|
serde_json.workspace = true
|
||||||
|
Loading…
Reference in New Issue
Block a user