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] [package]
name = "dapr" name = "dapr"
version = "0.5.0" version = "0.6.0"
authors = ["dapr.io"] authors = ["dapr.io"]
edition = "2018" edition = "2018"
license-file = "LICENSE" license-file = "LICENSE"
@ -11,17 +11,17 @@ keywords = ["microservices", "dapr"]
[dependencies] [dependencies]
tonic = "0.2" tonic = "0.4"
prost = "0.6.1" prost = "0.7"
bytes = "0.5.4" bytes = "1"
prost-types = "0.6.1" prost-types = "0.7"
async-trait = "0.1.24" async-trait = "0.1"
[build-dependencies] [build-dependencies]
tonic-build = "0.2" tonic-build = "0.4"
[dev-dependencies] [dev-dependencies]
tokio = {version = "0.2", features = ["full"] } tokio = { version = "1", features = ["full"] }
[[example]] [[example]]
name = "client" name = "client"

View File

@ -41,7 +41,7 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
.await?; .await?;
// sleep for 2 secs to simulate delay b/w two events // 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(()) Ok(())