diff --git a/examples/custom/Cargo.toml b/examples/custom/Cargo.toml index ef90a39..3b576dc 100644 --- a/examples/custom/Cargo.toml +++ b/examples/custom/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "custom" -version = "0.6.0" +version = "0.7.0" edition = "2021" [[bin]] @@ -8,12 +8,12 @@ name = "client" path = "src/client.rs" [dependencies] -ntex = "1.2" -ntex-h2 = "0.5" -ntex-grpc = "0.6" +ntex = "2" +ntex-h2 = "1" +ntex-grpc = "0.7" env_logger = "0.11" uuid = { version = "1", features = ["v4"] } [dev-dependencies] -ntex = { version = "1.2", features = ["openssl", "tokio"] } +ntex = { version = "2", features = ["openssl", "tokio"] } diff --git a/examples/helloworld/Cargo.toml b/examples/helloworld/Cargo.toml index a3bb4f4..1c8935c 100644 --- a/examples/helloworld/Cargo.toml +++ b/examples/helloworld/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "helloworld" -version = "0.6.0" +version = "0.7.0" edition = "2021" [[bin]] @@ -12,9 +12,9 @@ name = "server" path = "src/server.rs" [dependencies] -ntex = "1.2" -ntex-grpc = "0.6" -ntex-h2 = "0.5" +ntex = "2" +ntex-grpc = "0.7" +ntex-h2 = "1" clap = "2" log = "0.4" @@ -22,4 +22,4 @@ env_logger = "0.11" num_cpus = "1" [dev-dependencies] -ntex = { version = "1.2", features = ["openssl", "tokio"] } +ntex = { version = "2", features = ["openssl", "tokio"] } diff --git a/ntex-grpc/CHANGES.md b/ntex-grpc/CHANGES.md index f9c99c6..8c094c0 100644 --- a/ntex-grpc/CHANGES.md +++ b/ntex-grpc/CHANGES.md @@ -1,5 +1,9 @@ # Changes +## [0.7.0] - 2024-05-28 + +* Upgrade to ntex v2.0 + ## [0.6.4] - 2024-05-16 * Fix f32/f64 encoding diff --git a/ntex-grpc/Cargo.toml b/ntex-grpc/Cargo.toml index 30741ca..58d049a 100644 --- a/ntex-grpc/Cargo.toml +++ b/ntex-grpc/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ntex-grpc" -version = "0.6.4" +version = "0.7.0" license = "MIT OR Apache-2.0" authors = ["Nikolay Kim "] description = "GRPC Client/Server framework" @@ -16,19 +16,19 @@ name = "ntex_grpc" path = "src/lib.rs" [dependencies] -ntex-h2 = "0.5" +ntex-h2 = "1" ntex-http = "0.1" -ntex-io = "1.0" -ntex-util = "1.0" +ntex-io = "2" +ntex-util = "2" ntex-bytes = "0.1" -ntex-service = "2.0" +ntex-service = "3" ntex-grpc-derive = "0.6" log = "0.4" -thiserror = "1.0" +thiserror = "1" pin-project-lite = "0.2" [dev-dependencies] openssl = "0.10" -ntex = { version = "1.2", features = ["openssl", "tokio"] } +ntex = { version = "2", features = ["openssl", "tokio"] } env_logger = { version = "0.11", default-features = false }