chore - update dependencies (#46)

This commit is contained in:
rumblefrog 2021-05-13 17:41:14 -04:00 committed by GitHub
parent ec05fff7f6
commit 26c49d7622
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 9 deletions

View File

@ -1,6 +1,6 @@
[package]
name = "dapr"
version = "0.5.0"
version = "0.6.0"
authors = ["dapr.io"]
edition = "2018"
license-file = "LICENSE"
@ -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"

View File

@ -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(())