Skip to content

Commit

Permalink
Using workspace dependencies for tokio.
Browse files Browse the repository at this point in the history
  • Loading branch information
dmackdev committed Aug 3, 2023
1 parent b6897e6 commit c57e626
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

members = ["pubsubman_gui", "pubsubman_backend"]

[workspace.dependencies]
tokio = { version = "1.29.1", features = ["full"] }

[profile.release]
opt-level = 2 # fast and small wasm
Expand Down
2 changes: 1 addition & 1 deletion pubsubman_backend/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ edition = "2021"
futures-util = "0.3.28"
google-cloud-pubsub = "0.18.0"
time = "0.3.24"
tokio = { version = "1.29.1", features = ["full"] }
tokio = { workspace = true }

[dependencies.uuid]
version = "1.4.1"
Expand Down
2 changes: 1 addition & 1 deletion pubsubman_gui/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,5 @@ log = "0.4"
serde = { version = "1", features = ["derive"] }

env_logger = "0.10"
tokio = { version = "1.29.1", features = ["full"] }
tokio = { workspace = true }
pubsubman_backend = { version = "0.1.0", path = "../pubsubman_backend" }

0 comments on commit c57e626

Please sign in to comment.