From da40d3d563e6a317122119597fc5742772262d6a Mon Sep 17 00:00:00 2001 From: Francesco Guardiani Date: Mon, 8 Feb 2021 16:39:11 +0100 Subject: [PATCH] Tokio 1.0 release bumps! (#113) Signed-off-by: Francesco Guardiani --- cloudevents-sdk-rdkafka/Cargo.toml | 4 ++-- cloudevents-sdk-reqwest/Cargo.toml | 6 +++--- cloudevents-sdk-warp/Cargo.toml | 8 ++++---- example-projects/rdkafka-example/Cargo.toml | 6 +++--- example-projects/reqwest-wasm-example/Cargo.toml | 2 +- example-projects/warp-example/Cargo.toml | 4 ++-- 6 files changed, 15 insertions(+), 15 deletions(-) diff --git a/cloudevents-sdk-rdkafka/Cargo.toml b/cloudevents-sdk-rdkafka/Cargo.toml index 406b4c5f..3c1d6221 100644 --- a/cloudevents-sdk-rdkafka/Cargo.toml +++ b/cloudevents-sdk-rdkafka/Cargo.toml @@ -13,10 +13,10 @@ categories = ["web-programming", "encoding"] # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -bytes = "^0.5" +bytes = "^1.0" cloudevents-sdk = { version = "0.3.0", path = ".." } lazy_static = "1.4.0" -rdkafka = { version = "^0.24", features = ["cmake-build"] } +rdkafka = { version = "^0.25", features = ["cmake-build"] } [dev-dependencies] url = { version = "^2.1" } diff --git a/cloudevents-sdk-reqwest/Cargo.toml b/cloudevents-sdk-reqwest/Cargo.toml index 997ceb7b..7f3d626c 100644 --- a/cloudevents-sdk-reqwest/Cargo.toml +++ b/cloudevents-sdk-reqwest/Cargo.toml @@ -16,16 +16,16 @@ categories = ["web-programming", "encoding", "web-programming::http-client"] async-trait = "^0.1.33" cloudevents-sdk = { version = "0.3.0", path = ".." } lazy_static = "1.4.0" -bytes = "^0.5" +bytes = "^1.0" [dependencies.reqwest] -version = "0.10.4" +version = "^0.11" default-features = false features = ["rustls-tls"] [dev-dependencies] mockito = "0.25.1" -tokio = { version = "^0.2", features = ["full"] } +tokio = { version = "^1.0", features = ["full"] } url = { version = "^2.1" } serde_json = "^1.0" chrono = { version = "^0.4", features = ["serde"] } diff --git a/cloudevents-sdk-warp/Cargo.toml b/cloudevents-sdk-warp/Cargo.toml index 9a7bdcea..b97e8f8f 100644 --- a/cloudevents-sdk-warp/Cargo.toml +++ b/cloudevents-sdk-warp/Cargo.toml @@ -9,13 +9,13 @@ license-file = "../LICENSE" [dependencies] cloudevents-sdk = { path = ".." } lazy_static = "1.4.0" -bytes = "^0.5" -warp = "0.2" +bytes = "^1.0" +warp = "^0.3" http = "0.2" -hyper = "0.13" +hyper = "^0.14" [dev-dependencies] -tokio = { version = "^0.2", features = ["full"] } +tokio = { version = "^1.0", features = ["full"] } url = { version = "^2.1" } serde_json = "^1.0" chrono = { version = "^0.4", features = ["serde"] } diff --git a/example-projects/rdkafka-example/Cargo.toml b/example-projects/rdkafka-example/Cargo.toml index 365ad405..a999960c 100644 --- a/example-projects/rdkafka-example/Cargo.toml +++ b/example-projects/rdkafka-example/Cargo.toml @@ -11,12 +11,12 @@ async-trait = "^0.1.33" cloudevents-sdk = { path = "../.." } cloudevents-sdk-rdkafka = { path = "../../cloudevents-sdk-rdkafka" } lazy_static = "1.4.0" -bytes = "^0.5" +bytes = "^1.0" url = { version = "^2.1", features = ["serde"] } serde_json = "^1.0" futures = "^0.3" -tokio = { version = "^0.2", features = ["full"] } +tokio = { version = "^1.0", features = ["full"] } clap = "2.33.1" -rdkafka = { version = "^0.24", features = ["cmake-build"] } +rdkafka = { version = "^0.25", features = ["cmake-build"] } [workspace] diff --git a/example-projects/reqwest-wasm-example/Cargo.toml b/example-projects/reqwest-wasm-example/Cargo.toml index b5a93129..f3c635ad 100644 --- a/example-projects/reqwest-wasm-example/Cargo.toml +++ b/example-projects/reqwest-wasm-example/Cargo.toml @@ -10,7 +10,7 @@ edition = "2018" crate-type = ["cdylib"] [dependencies] -reqwest = "0.10.4" +reqwest = "^0.11" cloudevents-sdk = { path = "../.." } cloudevents-sdk-reqwest = { path = "../../cloudevents-sdk-reqwest" } url = { version = "^2.1" } diff --git a/example-projects/warp-example/Cargo.toml b/example-projects/warp-example/Cargo.toml index c258557d..ab6f86c6 100644 --- a/example-projects/warp-example/Cargo.toml +++ b/example-projects/warp-example/Cargo.toml @@ -9,8 +9,8 @@ license-file = "../LICENSE" [dependencies] cloudevents-sdk = { path = "../.." } cloudevents-sdk-warp = { path = "../../cloudevents-sdk-warp"} -warp = "0.2" -tokio = { version = "^0.2", features = ["full"] } +warp = "^0.3" +tokio = { version = "^1.0", features = ["full"] } [workspace]