Skip to content

Commit 4c3520b

Browse files
committed
Organize more dependencies.
Signed-off-by: David Calavera <[email protected]>
1 parent f41a0b2 commit 4c3520b

File tree

4 files changed

+15
-14
lines changed

4 files changed

+15
-14
lines changed

Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,15 @@ members = [
1212
exclude = ["examples"]
1313

1414
[workspace.dependencies]
15+
base64 = "0.21"
1516
bytes = "1"
1617
futures = "0.3"
1718
futures-channel = "0.3"
1819
futures-util = "0.3"
1920
http = "1.0"
2021
http-body = "1.0"
2122
http-body-util = "0.1"
22-
http-serde = "2.0.0"
23+
http-serde = "2.0"
2324
hyper = "1.0"
2425
hyper-util = "0.1.1"
2526
pin-project-lite = "0.2"

lambda-events/Cargo.toml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -16,25 +16,25 @@ categories = ["api-bindings", "encoding", "web-programming"]
1616
edition = "2021"
1717

1818
[dependencies]
19-
base64 = "0.21"
20-
http = { version = "1.0", optional = true }
21-
http-body = { version = "1.0", optional = true }
22-
http-serde = { version = "2.0", optional = true }
23-
serde = { version = "^1", features = ["derive"] }
24-
serde_with = { version = "^3", features = ["json"], optional = true }
25-
serde_json = "^1"
26-
serde_dynamo = { version = "^4.1", optional = true }
27-
bytes = { version = "1", features = ["serde"], optional = true }
19+
base64 = { workspace = true }
20+
bytes = { workspace = true, features = ["serde"], optional = true }
2821
chrono = { version = "0.4.31", default-features = false, features = [
2922
"clock",
3023
"serde",
3124
"std",
3225
], optional = true }
26+
flate2 = { version = "1.0.24", optional = true }
27+
http = { workspace = true, optional = true }
28+
http-body = { workspace = true, optional = true }
29+
http-serde = { workspace = true, optional = true }
3330
query_map = { version = "^0.7", features = [
3431
"serde",
3532
"url-query",
3633
], optional = true }
37-
flate2 = { version = "1.0.24", optional = true }
34+
serde = { version = "^1", features = ["derive"] }
35+
serde_with = { version = "^3", features = ["json"], optional = true }
36+
serde_json = "^1"
37+
serde_dynamo = { version = "^4.1", optional = true }
3838

3939
[features]
4040
default = [

lambda-http/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ apigw_websockets = []
2323
alb = []
2424

2525
[dependencies]
26-
base64 = "0.21"
26+
base64 = { workspace = true }
2727
bytes = { workspace = true }
2828
encoding_rs = "0.8"
2929
futures = { workspace = true }

lambda-runtime/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ simulated = []
1919

2020
[dependencies]
2121
async-stream = "0.3"
22-
base64 = "0.21.0"
22+
base64 = { workspace = true }
2323
bytes = { workspace = true }
2424
futures = { workspace = true }
2525
http = { workspace = true }
@@ -48,7 +48,7 @@ tokio = { version = "1.0", features = [
4848
] }
4949
tokio-stream = "0.1.2"
5050
tower = { workspace = true, features = ["util"] }
51-
tracing = { version = "0.1.37", features = ["log"] }
51+
tracing = { version = "0.1", features = ["log"] }
5252

5353
[dev-dependencies]
5454
hyper-util = { workspace = true, features = [

0 commit comments

Comments
 (0)