From 79246e70b8519e64e3efef8ddd018e82982c7eb7 Mon Sep 17 00:00:00 2001 From: Lucio Franco Date: Fri, 1 Sep 2023 15:45:50 -0400 Subject: [PATCH] chore: Prepare `0.12` release (#1492) --- CHANGELOG.md | 26 +++++++++++++++++++++ Cargo.toml | 4 ---- examples/Cargo.toml | 4 ++-- examples/helloworld-tutorial.md | 2 +- examples/routeguide-tutorial.md | 2 +- interop/Cargo.toml | 2 +- tests/ambiguous_methods/Cargo.toml | 2 +- tests/compression/Cargo.toml | 2 +- tests/default_stubs/Cargo.toml | 2 +- tests/disable_comments/Cargo.toml | 4 ++-- tests/extern_path/my_application/Cargo.toml | 2 +- tests/extern_path/uuid/Cargo.toml | 4 ++-- tests/included_service/Cargo.toml | 2 +- tests/integration_tests/Cargo.toml | 2 +- tests/root-crate-path/Cargo.toml | 2 +- tests/same_name/Cargo.toml | 2 +- tests/service_named_result/Cargo.toml | 2 +- tests/service_named_service/Cargo.toml | 2 +- tests/stream_conflict/Cargo.toml | 2 +- tests/use_arc_self/Cargo.toml | 2 +- tests/wellknown-compiled/Cargo.toml | 4 ++-- tests/wellknown/Cargo.toml | 4 ++-- tonic-build/Cargo.toml | 6 ++--- tonic-build/src/lib.rs | 2 +- tonic-health/Cargo.toml | 8 +++---- tonic-health/src/lib.rs | 2 +- tonic-reflection/Cargo.toml | 12 +++++----- tonic-reflection/src/lib.rs | 2 +- tonic-types/Cargo.toml | 10 ++++---- tonic-types/src/lib.rs | 2 +- tonic-web/Cargo.toml | 6 ++--- tonic-web/src/lib.rs | 2 +- tonic-web/tests/integration/Cargo.toml | 2 +- tonic/Cargo.toml | 8 +++---- tonic/src/lib.rs | 2 +- 35 files changed, 83 insertions(+), 61 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8d869f42e..7362eec77 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,29 @@ +# [v0.10.0](https://github.com/hyperium/tonic/compare/v0.9.2...v0.10) (2023-09-01) + +### Breaking Changes + +- Update to `prost` 0.12 +- MSRV bumped to 1.64 + + +### Bug Fixes + +* **codegen:** Use stream type from codegen mod ([#1446](https://github.com/hyperium/tonic/issues/1446)) ([60d776b](https://github.com/hyperium/tonic/commit/60d776b019854b6a6881d69823a36dcc18b1b4ce)) +* **examples:** Use https scheme when using tls ([#1466](https://github.com/hyperium/tonic/issues/1466)) ([388b177](https://github.com/hyperium/tonic/commit/388b177d99e7b0a2c8d5eab1dee65c4dbb671db4)) +* **tls:** Don't use tls w/ `http` scheme ([#1454](https://github.com/hyperium/tonic/issues/1454)) ([95e81f5](https://github.com/hyperium/tonic/commit/95e81f51fbbc32a5cf2b94ac0d7005d56b44a8d3)) + + +### Features + +* **build:** Add optional default unimplemented stubs ([#1344](https://github.com/hyperium/tonic/issues/1344)) ([aff1daf](https://github.com/hyperium/tonic/commit/aff1daf65d9a0d55b92719318eba2b5a4769c4e1)) +* **core:** amortize many ready messages into fewer, larger buffers ([#1423](https://github.com/hyperium/tonic/issues/1423)) ([76eedc1](https://github.com/hyperium/tonic/commit/76eedc13d0dd891892301afa38c3dd8ae6646edf)) +* **types:** add ability to extract rich error details from `google.rpc.Status` ([#1430](https://github.com/hyperium/tonic/issues/1430)) ([5fd635a](https://github.com/hyperium/tonic/commit/5fd635a30568ff629c4197c603c45b6b94750e88)) +* **transport:** Add `Router::into_router` ([#1442](https://github.com/hyperium/tonic/issues/1442)) ([ea06a1b](https://github.com/hyperium/tonic/commit/ea06a1bb30bc325c7f6d7763fe48bf8b88c1c3ed)) +* **transport:** Expose TcpConnectInfo fields ([#1449](https://github.com/hyperium/tonic/issues/1449)) ([74b079c](https://github.com/hyperium/tonic/commit/74b079ce752311fbe760d748804d801c385a5e7a)) +* **web:** Add `GrpcWebClientService` ([#1472](https://github.com/hyperium/tonic/issues/1472)) ([dc29c17](https://github.com/hyperium/tonic/commit/dc29c17ae3ef729024e1f80c66566b09d7a01051)) +* **transport:** Support for adding services dynamically + + # [v0.9.2](https://github.com/hyperium/tonic/compare/v0.9.1...v0.9.2) (2023-04-17) ### Features diff --git a/Cargo.toml b/Cargo.toml index 670a0d9fa..117ab4de4 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -29,7 +29,3 @@ members = [ ] resolver = "2" -[patch.crates-io] -prost = { git = "https://github.com/tokio-rs/prost" } -prost-build = { git = "https://github.com/tokio-rs/prost" } -prost-types = { git = "https://github.com/tokio-rs/prost" } diff --git a/examples/Cargo.toml b/examples/Cargo.toml index d627b631a..5c3e7e8b5 100644 --- a/examples/Cargo.toml +++ b/examples/Cargo.toml @@ -308,7 +308,7 @@ default = ["full"] [dependencies] # Common dependencies tokio = { version = "1.0", features = ["rt-multi-thread", "macros"] } -prost = "0.11" +prost = "0.12" tonic = { path = "../tonic" } # Optional dependencies tonic-web = { path = "../tonic-web", optional = true } @@ -325,7 +325,7 @@ serde = { version = "1.0", features = ["derive"], optional = true } serde_json = { version = "1.0", optional = true } tracing = { version = "0.1.16", optional = true } tracing-subscriber = { version = "0.3", features = ["tracing-log", "fmt"], optional = true } -prost-types = { version = "0.11", optional = true } +prost-types = { version = "0.12", optional = true } http = { version = "0.2", optional = true } http-body = { version = "0.4.2", optional = true } hyper = { version = "0.14", optional = true } diff --git a/examples/helloworld-tutorial.md b/examples/helloworld-tutorial.md index 9d4279930..4b3fc94a3 100644 --- a/examples/helloworld-tutorial.md +++ b/examples/helloworld-tutorial.md @@ -113,7 +113,7 @@ path = "src/client.rs" [dependencies] tonic = "0.9" -prost = "0.11" +prost = "0.12" tokio = { version = "1.0", features = ["macros", "rt-multi-thread"] } [build-dependencies] diff --git a/examples/routeguide-tutorial.md b/examples/routeguide-tutorial.md index eeed24965..5165eed44 100644 --- a/examples/routeguide-tutorial.md +++ b/examples/routeguide-tutorial.md @@ -175,7 +175,7 @@ Edit `Cargo.toml` and add all the dependencies we'll need for this example: ```toml [dependencies] tonic = "0.9" -prost = "0.11" +prost = "0.12" tokio = { version = "1.0", features = ["rt-multi-thread", "macros", "sync", "time"] } tokio-stream = "0.1" diff --git a/interop/Cargo.toml b/interop/Cargo.toml index bf6e4eafd..bf0a48f25 100644 --- a/interop/Cargo.toml +++ b/interop/Cargo.toml @@ -22,7 +22,7 @@ console = "0.15" http = "0.2" http-body = "0.4.2" hyper = "0.14" -prost = "0.11" +prost = "0.12" tokio = {version = "1.0", features = ["rt-multi-thread", "time", "macros"]} tokio-stream = "0.1" tonic = {path = "../tonic", features = ["tls"]} diff --git a/tests/ambiguous_methods/Cargo.toml b/tests/ambiguous_methods/Cargo.toml index d0d193ae5..13e67aad8 100644 --- a/tests/ambiguous_methods/Cargo.toml +++ b/tests/ambiguous_methods/Cargo.toml @@ -9,7 +9,7 @@ version = "0.1.0" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -prost = "0.11" +prost = "0.12" tonic = {path = "../../tonic"} [build-dependencies] diff --git a/tests/compression/Cargo.toml b/tests/compression/Cargo.toml index 3331be78c..cada8e69e 100644 --- a/tests/compression/Cargo.toml +++ b/tests/compression/Cargo.toml @@ -12,7 +12,7 @@ http = "0.2" http-body = "0.4" hyper = "0.14.3" pin-project = "1.0" -prost = "0.11" +prost = "0.12" tokio = {version = "1.0", features = ["macros", "rt-multi-thread", "net"]} tokio-stream = "0.1" tonic = {path = "../../tonic", features = ["gzip"]} diff --git a/tests/default_stubs/Cargo.toml b/tests/default_stubs/Cargo.toml index 97a689599..f3c826f98 100644 --- a/tests/default_stubs/Cargo.toml +++ b/tests/default_stubs/Cargo.toml @@ -9,7 +9,7 @@ version = "0.1.0" [dependencies] tokio = {version = "1.0", features = ["macros", "rt-multi-thread", "net"]} tokio-stream = {version = "0.1", features = ["net"]} -prost = "0.11" +prost = "0.12" tonic = {path = "../../tonic"} [build-dependencies] diff --git a/tests/disable_comments/Cargo.toml b/tests/disable_comments/Cargo.toml index c694fc01d..5b6437223 100644 --- a/tests/disable_comments/Cargo.toml +++ b/tests/disable_comments/Cargo.toml @@ -9,9 +9,9 @@ version = "0.1.0" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -prost = "0.11" +prost = "0.12" tonic = { path = "../../tonic" } [build-dependencies] -prost-build = "0.11.6" +prost-build = "0.12" tonic-build = { path = "../../tonic-build" } diff --git a/tests/extern_path/my_application/Cargo.toml b/tests/extern_path/my_application/Cargo.toml index a2eeb6bbc..dddc5df0f 100644 --- a/tests/extern_path/my_application/Cargo.toml +++ b/tests/extern_path/my_application/Cargo.toml @@ -9,7 +9,7 @@ version = "0.1.0" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -prost = "0.11" +prost = "0.12" tonic = {path = "../../../tonic"} uuid = {package = "uuid1", path = "../uuid"} diff --git a/tests/extern_path/uuid/Cargo.toml b/tests/extern_path/uuid/Cargo.toml index df1e49716..b2bc5e009 100644 --- a/tests/extern_path/uuid/Cargo.toml +++ b/tests/extern_path/uuid/Cargo.toml @@ -9,6 +9,6 @@ version = "0.1.0" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -prost = "0.11" +prost = "0.12" [build-dependencies] -prost-build = "0.11.6" +prost-build = "0.12" diff --git a/tests/included_service/Cargo.toml b/tests/included_service/Cargo.toml index 77469fa6f..36d74c964 100644 --- a/tests/included_service/Cargo.toml +++ b/tests/included_service/Cargo.toml @@ -9,7 +9,7 @@ version = "0.1.0" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -prost = "0.11" +prost = "0.12" tonic = {path = "../../tonic"} [build-dependencies] diff --git a/tests/integration_tests/Cargo.toml b/tests/integration_tests/Cargo.toml index 45cf32794..222d1919c 100644 --- a/tests/integration_tests/Cargo.toml +++ b/tests/integration_tests/Cargo.toml @@ -10,7 +10,7 @@ version = "0.1.0" [dependencies] bytes = "1.0" -prost = "0.11" +prost = "0.12" tokio = {version = "1.0", features = ["macros", "rt-multi-thread", "net", "sync"]} tonic = {path = "../../tonic"} tracing-subscriber = {version = "0.3"} diff --git a/tests/root-crate-path/Cargo.toml b/tests/root-crate-path/Cargo.toml index 50bb1fd30..104a29a1a 100644 --- a/tests/root-crate-path/Cargo.toml +++ b/tests/root-crate-path/Cargo.toml @@ -7,7 +7,7 @@ publish = false version = "0.1.0" [dependencies] -prost = "0.11" +prost = "0.12" tonic = {path = "../../tonic"} [build_dependencies] diff --git a/tests/same_name/Cargo.toml b/tests/same_name/Cargo.toml index e2c69a7a8..3cd78e42d 100644 --- a/tests/same_name/Cargo.toml +++ b/tests/same_name/Cargo.toml @@ -9,7 +9,7 @@ version = "0.1.0" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -prost = "0.11" +prost = "0.12" tonic = {path = "../../tonic"} [build-dependencies] diff --git a/tests/service_named_result/Cargo.toml b/tests/service_named_result/Cargo.toml index 1730235e1..6a29a3cff 100644 --- a/tests/service_named_result/Cargo.toml +++ b/tests/service_named_result/Cargo.toml @@ -7,7 +7,7 @@ publish = false # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -prost = "0.11" +prost = "0.12" tonic = {path = "../../tonic"} [build-dependencies] diff --git a/tests/service_named_service/Cargo.toml b/tests/service_named_service/Cargo.toml index be97922ab..4e9c7016e 100644 --- a/tests/service_named_service/Cargo.toml +++ b/tests/service_named_service/Cargo.toml @@ -9,7 +9,7 @@ version = "0.1.0" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -prost = "0.11" +prost = "0.12" tonic = {path = "../../tonic"} [build-dependencies] diff --git a/tests/stream_conflict/Cargo.toml b/tests/stream_conflict/Cargo.toml index 866cba9d6..e01f5d192 100644 --- a/tests/stream_conflict/Cargo.toml +++ b/tests/stream_conflict/Cargo.toml @@ -9,7 +9,7 @@ license = "MIT" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -prost = "0.11" +prost = "0.12" tonic = { path = "../../tonic" } [build-dependencies] diff --git a/tests/use_arc_self/Cargo.toml b/tests/use_arc_self/Cargo.toml index 7c2d09209..74e52312a 100644 --- a/tests/use_arc_self/Cargo.toml +++ b/tests/use_arc_self/Cargo.toml @@ -8,7 +8,7 @@ version = "0.1.0" [dependencies] tokio-stream = "0.1" -prost = "0.11" +prost = "0.12" tonic = {path = "../../tonic", features = ["gzip"]} [build-dependencies] diff --git a/tests/wellknown-compiled/Cargo.toml b/tests/wellknown-compiled/Cargo.toml index 60842b4ec..173a56605 100644 --- a/tests/wellknown-compiled/Cargo.toml +++ b/tests/wellknown-compiled/Cargo.toml @@ -12,9 +12,9 @@ version = "0.1.0" doctest = false [dependencies] -prost = "0.11" +prost = "0.12" tonic = {path = "../../tonic"} [build-dependencies] -prost-build = "0.11.6" +prost-build = "0.12" tonic-build = {path = "../../tonic-build"} diff --git a/tests/wellknown/Cargo.toml b/tests/wellknown/Cargo.toml index 194316e2f..098b7300b 100644 --- a/tests/wellknown/Cargo.toml +++ b/tests/wellknown/Cargo.toml @@ -9,8 +9,8 @@ version = "0.1.0" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -prost = "0.11" -prost-types = "0.11" +prost = "0.12" +prost-types = "0.12" tonic = {path = "../../tonic"} [build-dependencies] diff --git a/tonic-build/Cargo.toml b/tonic-build/Cargo.toml index fd5bfb18f..e5a0ea6cf 100644 --- a/tonic-build/Cargo.toml +++ b/tonic-build/Cargo.toml @@ -4,7 +4,7 @@ categories = ["network-programming", "asynchronous"] description = """ Codegen module of `tonic` gRPC implementation. """ -documentation = "https://docs.rs/tonic-build/0.9.2" +documentation = "https://docs.rs/tonic-build/0.10.0" edition = "2021" homepage = "https://github.com/hyperium/tonic" keywords = ["rpc", "grpc", "async", "codegen", "protobuf"] @@ -12,12 +12,12 @@ license = "MIT" name = "tonic-build" readme = "README.md" repository = "https://github.com/hyperium/tonic" -version = "0.9.2" +version = "0.10.0" [dependencies] prettyplease = { version = "0.2" } proc-macro2 = "1.0" -prost-build = { version = "0.11.9", optional = true } +prost-build = { version = "0.12", optional = true } quote = "1.0" syn = "2.0" diff --git a/tonic-build/src/lib.rs b/tonic-build/src/lib.rs index 2ffc756be..9a5898381 100644 --- a/tonic-build/src/lib.rs +++ b/tonic-build/src/lib.rs @@ -70,7 +70,7 @@ html_logo_url = "https://raw.githubusercontent.com/tokio-rs/website/master/public/img/icons/tonic.svg" )] #![deny(rustdoc::broken_intra_doc_links)] -#![doc(html_root_url = "https://docs.rs/tonic-build/0.9.2")] +#![doc(html_root_url = "https://docs.rs/tonic-build/0.10.0")] #![doc(issue_tracker_base_url = "https://github.com/hyperium/tonic/issues/")] #![doc(test(no_crate_inject, attr(deny(rust_2018_idioms))))] #![cfg_attr(docsrs, feature(doc_cfg))] diff --git a/tonic-health/Cargo.toml b/tonic-health/Cargo.toml index c6218aa08..51c2ffbdf 100644 --- a/tonic-health/Cargo.toml +++ b/tonic-health/Cargo.toml @@ -12,7 +12,7 @@ license = "MIT" name = "tonic-health" readme = "README.md" repository = "https://github.com/hyperium/tonic" -version = "0.9.2" +version = "0.10.0" [features] default = ["transport"] @@ -20,12 +20,12 @@ transport = [] [dependencies] async-stream = "0.3" -prost = "0.11" +prost = "0.12" tokio = {version = "1.0", features = ["sync"]} tokio-stream = "0.1" -tonic = { version = "0.9", path = "../tonic", default-features = false, features = ["codegen", "prost"] } +tonic = { version = "0.10", path = "../tonic", default-features = false, features = ["codegen", "prost"] } [dev-dependencies] tokio = {version = "1.0", features = ["rt-multi-thread", "macros"]} tokio-stream = "0.1" -prost-types = "0.11" +prost-types = "0.12" diff --git a/tonic-health/src/lib.rs b/tonic-health/src/lib.rs index acbd719eb..e07f0cb11 100644 --- a/tonic-health/src/lib.rs +++ b/tonic-health/src/lib.rs @@ -16,7 +16,7 @@ html_logo_url = "https://raw.githubusercontent.com/tokio-rs/website/master/public/img/icons/tonic.svg" )] #![deny(rustdoc::broken_intra_doc_links)] -#![doc(html_root_url = "https://docs.rs/tonic-health/0.9.2")] +#![doc(html_root_url = "https://docs.rs/tonic-health/0.10.0")] #![doc(issue_tracker_base_url = "https://github.com/hyperium/tonic/issues/")] #![doc(test(no_crate_inject, attr(deny(rust_2018_idioms))))] #![cfg_attr(docsrs, feature(doc_cfg))] diff --git a/tonic-reflection/Cargo.toml b/tonic-reflection/Cargo.toml index efe35ac9b..f3328fb38 100644 --- a/tonic-reflection/Cargo.toml +++ b/tonic-reflection/Cargo.toml @@ -9,20 +9,20 @@ Server Reflection module of `tonic` gRPC implementation. """ edition = "2021" homepage = "https://github.com/hyperium/tonic" -documentation = "https://docs.rs/tonic-reflection/0.9.2" +documentation = "https://docs.rs/tonic-reflection/0.10.0" keywords = ["rpc", "grpc", "async", "reflection"] license = "MIT" name = "tonic-reflection" readme = "README.md" repository = "https://github.com/hyperium/tonic" -version = "0.9.2" +version = "0.10.0" [dependencies] -prost = "0.11" -prost-types = "0.11" +prost = "0.12" +prost-types = "0.12" tokio = {version = "1.0", features = ["sync", "rt"]} tokio-stream = {version = "0.1", features = ["net"]} -tonic = { version = "0.9", path = "../tonic", default-features = false, features = ["codegen", "prost"] } +tonic = { version = "0.10", path = "../tonic", default-features = false, features = ["codegen", "prost"] } [dev-dependencies] -tonic = { version = "0.9", path = "../tonic", default-features = false, features = ["transport"] } +tonic = { version = "0.10", path = "../tonic", default-features = false, features = ["transport"] } diff --git a/tonic-reflection/src/lib.rs b/tonic-reflection/src/lib.rs index ad62cb757..a0143ec3e 100644 --- a/tonic-reflection/src/lib.rs +++ b/tonic-reflection/src/lib.rs @@ -10,7 +10,7 @@ html_logo_url = "https://github.com/hyperium/tonic/raw/master/.github/assets/tonic-docs.png" )] #![deny(rustdoc::broken_intra_doc_links)] -#![doc(html_root_url = "https://docs.rs/tonic-reflection/0.9.2")] +#![doc(html_root_url = "https://docs.rs/tonic-reflection/0.10.0")] #![doc(issue_tracker_base_url = "https://github.com/hyperium/tonic/issues/")] #![doc(test(no_crate_inject, attr(deny(rust_2018_idioms))))] #![cfg_attr(docsrs, feature(doc_cfg))] diff --git a/tonic-types/Cargo.toml b/tonic-types/Cargo.toml index 6cf46ee1e..f92dc9bd6 100644 --- a/tonic-types/Cargo.toml +++ b/tonic-types/Cargo.toml @@ -7,7 +7,7 @@ categories = ["web-programming", "network-programming", "asynchronous"] description = """ A collection of useful protobuf types that can be used with `tonic`. """ -documentation = "https://docs.rs/tonic-types/0.9.2" +documentation = "https://docs.rs/tonic-types/0.10.0" edition = "2021" homepage = "https://github.com/hyperium/tonic" keywords = ["rpc", "grpc", "protobuf"] @@ -15,9 +15,9 @@ license = "MIT" name = "tonic-types" readme = "README.md" repository = "https://github.com/hyperium/tonic" -version = "0.9.2" +version = "0.10.0" [dependencies] -prost = "0.11" -prost-types = "0.11" -tonic = {version = "0.9", path = "../tonic", default-features = false} +prost = "0.12" +prost-types = "0.12" +tonic = {version = "0.10", path = "../tonic", default-features = false} diff --git a/tonic-types/src/lib.rs b/tonic-types/src/lib.rs index 5c4b17684..dbcf61b99 100644 --- a/tonic-types/src/lib.rs +++ b/tonic-types/src/lib.rs @@ -150,7 +150,7 @@ html_logo_url = "https://raw.githubusercontent.com/tokio-rs/website/master/public/img/icons/tonic.svg" )] #![deny(rustdoc::broken_intra_doc_links)] -#![doc(html_root_url = "https://docs.rs/tonic-types/0.9.2")] +#![doc(html_root_url = "https://docs.rs/tonic-types/0.10.0")] #![doc(issue_tracker_base_url = "https://github.com/hyperium/tonic/issues/")] mod generated { diff --git a/tonic-web/Cargo.toml b/tonic-web/Cargo.toml index 74ccf20d7..9fad3c529 100644 --- a/tonic-web/Cargo.toml +++ b/tonic-web/Cargo.toml @@ -12,17 +12,17 @@ license = "MIT" name = "tonic-web" readme = "README.md" repository = "https://github.com/hyperium/tonic" -version = "0.9.2" +version = "0.10.0" [dependencies] base64 = "0.21" -bytes = "1.0" +bytes = "1" tokio-stream = "0.1" http = "0.2" http-body = "0.4" hyper = {version = "0.14", default-features = false, features = ["stream"]} pin-project = "1" -tonic = {version = "0.9", path = "../tonic", default-features = false} +tonic = {version = "0.10", path = "../tonic", default-features = false} tower-service = "0.3" tower-layer = "0.3" tower-http = { version = "0.4", features = ["cors"] } diff --git a/tonic-web/src/lib.rs b/tonic-web/src/lib.rs index 4942faba2..e950c6b2f 100644 --- a/tonic-web/src/lib.rs +++ b/tonic-web/src/lib.rs @@ -94,7 +94,7 @@ rust_2018_idioms, unreachable_pub )] -#![doc(html_root_url = "https://docs.rs/tonic-web/0.9.2")] +#![doc(html_root_url = "https://docs.rs/tonic-web/0.10.0")] #![doc(issue_tracker_base_url = "https://github.com/hyperium/tonic/issues/")] pub use call::GrpcWebCall; diff --git a/tonic-web/tests/integration/Cargo.toml b/tonic-web/tests/integration/Cargo.toml index 5ad446063..36b6fbc51 100644 --- a/tonic-web/tests/integration/Cargo.toml +++ b/tonic-web/tests/integration/Cargo.toml @@ -10,7 +10,7 @@ license = "MIT" base64 = "0.21" bytes = "1.0" hyper = "0.14" -prost = "0.11" +prost = "0.12" tokio = { version = "1", features = ["macros", "rt", "net"] } tokio-stream = { version = "0.1", features = ["net"] } tonic = { path = "../../../tonic" } diff --git a/tonic/Cargo.toml b/tonic/Cargo.toml index 5c91b4d13..7456b6556 100644 --- a/tonic/Cargo.toml +++ b/tonic/Cargo.toml @@ -7,20 +7,20 @@ name = "tonic" # - Cargo.toml # - README.md # - Update CHANGELOG.md. -# - Create "v0.9.x" git tag. +# - Create "v0.10.x" git tag. authors = ["Lucio Franco "] categories = ["web-programming", "network-programming", "asynchronous"] description = """ A gRPC over HTTP/2 implementation focused on high performance, interoperability, and flexibility. """ -documentation = "https://docs.rs/tonic/0.9.2" +documentation = "https://docs.rs/tonic/0.10.0" edition = "2021" homepage = "https://github.com/hyperium/tonic" keywords = ["rpc", "grpc", "async", "futures", "protobuf"] license = "MIT" readme = "../README.md" repository = "https://github.com/hyperium/tonic" -version = "0.9.2" +version = "0.10.0" [features] codegen = ["dep:async-trait"] @@ -62,7 +62,7 @@ tower-layer = "0.3" tower-service = "0.3" # prost -prost = {version = "0.11", default-features = false, features = ["std"], optional = true} +prost = {version = "0.12", default-features = false, features = ["std"], optional = true} # codegen async-trait = {version = "0.1.13", optional = true} diff --git a/tonic/src/lib.rs b/tonic/src/lib.rs index e6eea559f..e4195d79e 100644 --- a/tonic/src/lib.rs +++ b/tonic/src/lib.rs @@ -89,7 +89,7 @@ #![doc( html_logo_url = "https://raw.githubusercontent.com/tokio-rs/website/master/public/img/icons/tonic.svg" )] -#![doc(html_root_url = "https://docs.rs/tonic/0.9.2")] +#![doc(html_root_url = "https://docs.rs/tonic/0.10.0")] #![doc(issue_tracker_base_url = "https://github.com/hyperium/tonic/issues/")] #![doc(test(no_crate_inject, attr(deny(rust_2018_idioms))))] #![cfg_attr(docsrs, feature(doc_cfg))]