Skip to content

Commit

Permalink
chore - update dependencies (dapr#46)
Browse files Browse the repository at this point in the history
Signed-off-by: David White <davwhite@microsoft.com>
Signed-off-by: David White <ddsoft@hotmail.com>
  • Loading branch information
rumblefrog authored and dwhiteddsoft committed Mar 21, 2024
1 parent ec05fff commit 7be7fb5
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
16 changes: 8 additions & 8 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "dapr"
version = "0.5.0"
version = "0.6.0"
authors = ["dapr.io"]
edition = "2018"
license-file = "LICENSE"
Expand All @@ -11,17 +11,17 @@ keywords = ["microservices", "dapr"]


[dependencies]
tonic = "0.2"
prost = "0.6.1"
bytes = "0.5.4"
prost-types = "0.6.1"
async-trait = "0.1.24"
tonic = "0.4"
prost = "0.7"
bytes = "1"
prost-types = "0.7"
async-trait = "0.1"

[build-dependencies]
tonic-build = "0.2"
tonic-build = "0.4"

[dev-dependencies]
tokio = {version = "0.2", features = ["full"] }
tokio = { version = "1", features = ["full"] }

[[example]]
name = "client"
Expand Down
2 changes: 1 addition & 1 deletion examples/pubsub/publisher.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
.await?;

// sleep for 2 secs to simulate delay b/w two events
tokio::time::delay_for(Duration::from_secs(2)).await;
tokio::time::sleep(Duration::from_secs(2)).await;
}

Ok(())
Expand Down

0 comments on commit 7be7fb5

Please sign in to comment.