Skip to content

Commit 21ddd8c

Browse files
committed
Add tokio as a workspace dependency and update it
1 parent d4476a5 commit 21ddd8c

File tree

5 files changed

+77
-95
lines changed

5 files changed

+77
-95
lines changed

Cargo.lock

Lines changed: 73 additions & 93 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ lazy_static = "1"
1313
log = "0.4"
1414
serde = "1"
1515
serde_json = "1"
16+
tokio = "1.36"
1617

1718
[profile.release.package.site]
1819
debug = 1

collector/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ lazy_static = { workspace = true }
1515
log = { workspace = true }
1616
serde = { workspace = true, features = ["derive"] }
1717
serde_json = { workspace = true }
18+
tokio = { workspace = true, features = ["rt", "process"] }
1819

1920
thiserror = "1"
2021
tempfile = "3"

database/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@ hashbrown = { workspace = true, features = ["serde"] }
1313
lazy_static = { workspace = true }
1414
log = { workspace = true }
1515
serde = { workspace = true, features = ["derive"] }
16+
tokio = { workspace = true, features = ["sync", "macros"] }
1617

1718
rusqlite = { version = "0.28", features = ["bundled"] }
1819
tokio-postgres = { version = "0.7", features = ["with-chrono-0_4", "runtime"] }
1920
async-trait = "0.1"
20-
tokio = { version = "1.6", features = ["sync", "macros"] }
2121
reqwest = { version = "0.11", features = ["blocking"] }
2222
postgres-native-tls = "0.5"
2323
native-tls = "0.2"

site/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ lazy_static = { workspace = true }
1313
log = { workspace = true }
1414
serde = { workspace = true, features = ["rc"] }
1515
serde_json = { workspace = true }
16+
tokio = { workspace = true, features = ["macros", "time"] }
1617

1718
futures = "0.3"
18-
tokio = { version = "1.26", features = ["macros", "time"] }
1919
hyper = { version = "0.14", features = ["server", "stream"] }
2020
headers = "0.3"
2121
http = "0.2"

0 commit comments

Comments
 (0)