{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":201517171,"defaultBranch":"master","name":"tonic","ownerLogin":"hyperium","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2019-08-09T17:59:37.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/8730506?v=4","public":true,"private":false,"isOrgOwned":true},"refInfo":{"name":"","listCacheKey":"v0:1718090830.0","currentOid":""},"activityList":{"items":[{"before":"3e5cd1ed1fd34707cff8df29de43dafcba58fcf0","after":null,"ref":"refs/heads/gh-readonly-queue/master/pr-1719-ed95d2762146f001970b74941f3bad77b7560426","pushedAt":"2024-06-12T20:40:04.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"github-merge-queue[bot]","name":null,"path":"/apps/github-merge-queue","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/9919?s=80&v=4"}},{"before":"ed95d2762146f001970b74941f3bad77b7560426","after":"3e5cd1ed1fd34707cff8df29de43dafcba58fcf0","ref":"refs/heads/master","pushedAt":"2024-06-12T20:40:03.000Z","pushType":"merge_queue_merge","commitsCount":1,"pusher":{"login":"github-merge-queue[bot]","name":null,"path":"/apps/github-merge-queue","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/9919?s=80&v=4"},"commit":{"message":"chore: Rename Status to_http method to into_http (#1719)","shortMessageHtmlLink":"chore: Rename Status to_http method to into_http (#1719)"}},{"before":null,"after":"3e5cd1ed1fd34707cff8df29de43dafcba58fcf0","ref":"refs/heads/gh-readonly-queue/master/pr-1719-ed95d2762146f001970b74941f3bad77b7560426","pushedAt":"2024-06-12T20:40:03.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"github-merge-queue[bot]","name":null,"path":"/apps/github-merge-queue","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/9919?s=80&v=4"},"commit":{"message":"chore: Rename Status to_http method to into_http (#1719)","shortMessageHtmlLink":"chore: Rename Status to_http method to into_http (#1719)"}},{"before":"ed95d2762146f001970b74941f3bad77b7560426","after":null,"ref":"refs/heads/gh-readonly-queue/master/pr-1710-9c1f2f9402d97cfa4c9d9065b5af2fb99d2ef521","pushedAt":"2024-06-12T20:39:47.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"github-merge-queue[bot]","name":null,"path":"/apps/github-merge-queue","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/9919?s=80&v=4"}},{"before":"9c1f2f9402d97cfa4c9d9065b5af2fb99d2ef521","after":"ed95d2762146f001970b74941f3bad77b7560426","ref":"refs/heads/master","pushedAt":"2024-06-12T20:39:46.000Z","pushType":"merge_queue_merge","commitsCount":1,"pusher":{"login":"github-merge-queue[bot]","name":null,"path":"/apps/github-merge-queue","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/9919?s=80&v=4"},"commit":{"message":"feat: Use http::Extensions directly (#1710)","shortMessageHtmlLink":"feat: Use http::Extensions directly (#1710)"}},{"before":null,"after":"ed95d2762146f001970b74941f3bad77b7560426","ref":"refs/heads/gh-readonly-queue/master/pr-1710-9c1f2f9402d97cfa4c9d9065b5af2fb99d2ef521","pushedAt":"2024-06-12T20:39:46.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"github-merge-queue[bot]","name":null,"path":"/apps/github-merge-queue","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/9919?s=80&v=4"},"commit":{"message":"feat: Use http::Extensions directly (#1710)","shortMessageHtmlLink":"feat: Use http::Extensions directly (#1710)"}},{"before":"9c1f2f9402d97cfa4c9d9065b5af2fb99d2ef521","after":null,"ref":"refs/heads/gh-readonly-queue/master/pr-1670-df856237fd695275af80a168cb7e1af5999166cf","pushedAt":"2024-06-12T19:49:40.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"github-merge-queue[bot]","name":null,"path":"/apps/github-merge-queue","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/9919?s=80&v=4"}},{"before":"df856237fd695275af80a168cb7e1af5999166cf","after":"9c1f2f9402d97cfa4c9d9065b5af2fb99d2ef521","ref":"refs/heads/master","pushedAt":"2024-06-12T19:49:39.000Z","pushType":"merge_queue_merge","commitsCount":1,"pusher":{"login":"github-merge-queue[bot]","name":null,"path":"/apps/github-merge-queue","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/9919?s=80&v=4"},"commit":{"message":"Upgrade to Hyper 1.0 & Axum 0.7 (#1670)\n\n* Upgrade to hyper 1 and http 1\n\nUpgrades only in Cargo.toml\n\nCo-authored-by: Ivan Krivosheev \nCo-authored-by: Allan Zhang \n\n* Convert from hyper::Body to http_body::BoxedBody\n\nWhen appropriate, we replace `hyper::Body` with `http_body::BoxedBody`, a good general purpose replacement for `hyper::Body`.\n\nHyper does provide `hyper::body::Incoming`, but we cannot construct that, so anywhere we might need a body that we can construct (even most Service trait impls) we must use something like `http_body::BoxedBody`.\n\nWhen a service accepts `BoxedBody` and not `Incoming`, this indicates that the service is designed to run in places where it is not adjacent to hyper, for example, after routing (which is managed by Axum)\n\nAdditionally, http >= 1 requires that extension types are `Clone`, so this bound has been added where appropriate.\n\nCo-authored-by: Ivan Krivosheev \nCo-authored-by: Allan Zhang \n\n* Convert tonic::codec::decode to use http >= 1 body types\n\nThe Body trait has changed (removed `poll_data` and `poll_trailers`, they are now combined in `poll_frame`) and so the codec must be re-written to merge those two methods.\n\nCo-authored-by: Ivan Krivosheev \n\n* Convert tonic::transport::channel to use http >= 1 body types\n\ntonic::transport::channel previously used `hyper::Body` as the response body type. This type no longer exists in hyper >= 1, and so has been converted to a `BoxBody` provided by `http_body_util` designed for interoperability between http crates.\n\nCo-authored-by: Ivan Krivosheev \nCo-authored-by: Allan Zhang \n\n* [tests] Convert tonic::codec::prost::tests to use http >= 1 body types\n\nThe Body trait has changed (removed `poll_data` and `poll_trailers`, they are now combined in `poll_frame`) and so the codec must be re-written to merge those two methods. This also handles the return types which should now be wrapped in `Frame` when appropriate.\n\nCo-authored-by: Ivan Krivosheev \nCo-authored-by: Allan Zhang \n\n* Convert tonic::codec::encode to use http >= 1 body types\n\nThe Body trait has changed (removed `poll_data` and `poll_trailers`, they are now combined in `poll_frame`) and so the codec must be re-written to merge those two methods.\n\nCo-authored-by: Ivan Krivosheev \nCo-authored-by: Allan Zhang \n\n* [tests] Convert tonic::service::interceptor::tests to use http >= 1 body types\n\nThe Body trait has changed (removed `poll_data` and `poll_trailers`, they are now combined in `poll_frame`) and so the codec must be re-written to merge those two methods. This also handles the return types which should now be wrapped in `Frame` when appropriate.\n\nCo-authored-by: Ivan Krivosheev \nCo-authored-by: Allan Zhang \n\n* Convert tonic::transport to use http >= 1 body types\n\nHere, we must update some body types which are no longer valid. (A) BoxBody no longer has an `empty` method, instead we provide a helper in `tonic::body` for creating an empty boxed body via `http_body_util`. As well, `hyper::Body` is no longer a type, and instead, `hyper::Incoming` is used when directly recieving a Request from hyper, and `BoxBody` is used when the request may have passed through an axum router. In tonic, we prefer `BoxBody` as it allows for services to be used downstream from other components which enforce a specific body type (e.g. Axum), at the cost of making Body streaming opaque.\n\nCo-authored-by: Ivan Krivosheev \nCo-authored-by: Allan Zhang \n\n* Convert tonic::transport::server::recover_error to use http >= 1 body types\n\nThe Body trait has changed (removed `poll_data` and `poll_trailers`, they are now combined in `poll_frame`) and so the codec must be re-written to merge those two methods.\n\nCo-authored-by: Ivan Krivosheev \nCo-authored-by: Ludea \n\n* Convert h2c examples to use http >= 1 body types\n\nIn h2c, when a service is receiving from hyper, it has to accept a `hyper::body::Incoming` in hyper >= 1.\n\nAdditionally, response bodies must be built from `http_body_util` combinators and become BoxBody objects.\n\n* [tests] Convert MergeTrailers body wrapper in interop server\n\nThe Body trait has changed (removed `poll_data` and `poll_trailers`, they are now combined in `poll_frame`) and so the codec must be re-written to merge those two methods.\n\n* [tests] Convert compression tests to use hyper 1 body types\n\nThe Body trait has changed (removed `poll_data` and `poll_trailers`, they are now combined in `poll_frame`) and so the codec must be re-written to merge those two methods.\n\n* [tests] Convert complex_tower_middleware Body for hyper 1\n\nThe Body trait has changed (removed `poll_data` and `poll_trailers`, they are now combined in `poll_frame`) and so the codec must be re-written to merge those two methods.\n\n* [tests] Convert integration_tests::origin to use http >= 1 body types\n\nThe Body trait has changed (removed `poll_data` and `poll_trailers`, they are now combined in `poll_frame`) and so the codec must be re-written to merge those two methods.\n\n* Convert tonic-web to use http >= 1 body types\n\nThe Body trait has changed (removed `poll_data` and `poll_trailers`, they are now combined in `poll_frame`) and so the codec must be re-written to merge those two methods.\n\n* Adapt for hyper-specific IO traits\n\nhyper >= 1 provides its own I/O traits (Read & Write) instead of relying on the equivalent traits from `tokio`. Then, `hyper-util` provides adaptor structs to wrap `tokio` I/O objects and implement the hyper equivalents. Therefore, we update the appropriate bounds to use the hyper traits, and update the I/O objects so that they are wrapped in the tokio to hyper adaptor.\n\nCo-authored-by: Ivan Krivosheev \nCo-authored-by: Allan Zhang \n\n* Upgrade axum to 0.7\n\nAxum must be >= 0.7 to support hyper >= 1\n\nDoing this also involves changing the Body type used. Since hyper >= 1 does not provide a generic body type, Axum and tonic both use `BoxBody` to provide a pointer to a Body.\n\nThis changes the trait bounds required for methods which accept additional Serivces to be run alongside the primary GRPC service, since those will be routed with Axum, and therefore must accept a BoxBody.\n\nCo-authored-by: Ivan Krivosheev \nCo-authored-by: Allan Zhang \n\n* Convert service connector for hyper-1.0\n\nHyper >= 1 no longer includes automatic http2/http1 combined connections, and so we must swtich to the `http2::Builder` type (this is okay, we set http2_only(true) anyhow).\n\nAs well, hyper >= 1 is generic over executors and does not directly depend on tokio. Since http2 connections can be multiplexed, they require some additional background task to handle sending and receiving requests. Additionally, these background tasks do not natively implement `tower::Service` since hyper >= 1 does not depend on `tower`.\n\nTherefore, we re-implement the `SendRequest` task as a tower::Service, so that it can be used within `Connection`, which expects to operate on a tower::Service to serve connections.\n\nCo-authored-by: Ivan Krivosheev \nCo-authored-by: Allan Zhang \n\n* Convert hyper::Client to hyper_util::legacy::Client\n\n`hyper::Client` has been moved to `hyper_util::legacy::Client` in version 1.\n\nCo-authored-by: Ivan Krivosheev \nCo-authored-by: Allan Zhang \n\n* Identify and propogate connect errors\n\nhyper::Error no longer provides information about Connect errors, especially since hyper_util now contains the connection implementation, it does not provide a separate error type.\n\nInstead, we create an internal Error type which is used in our own connectors, and then checked when figuring out what the gRPC status should be.\n\n* Remove hyper::server::conn::AddrStream\n\nhyper >= 1 has deprecated all of `hyper::server`, including `AddrStream`\n\nCo-authored-by: Ivan Krivosheev \nCo-authored-by: Allan Zhang \n\nReplace hyper::server::Accept\n\nhyper::server is deprectaed. Instead, we implement our own TCP-incoming based on the now removed hyper::server::Accept.\n\nIn order to set `TCP_KEEPALIVE` we require the socket2 crate, since this option is not exposed in the standard library’s API. The implementaiton is inspired by that of hyper v0.14\n\n* [examples] In h2c, replace hyper::Server with an accept loop\n\nhyper::Server is deprecated, with no current common replacement. Instead of implementing (or using tonic’s new) full server in here, we write a simple accept loop, which is sufficient to demonstrate the functionality of h2c.\n\n* Upgrade tls dependencies\n\nhyper-rustls requires version 0.27.0 to support hyper >= 1, bringing a few other tls bumps along. Importantly, we add the “ring” and “tls12” features to use ring as the crypto backend, consistent with previous versions of tonic. A future version of tonic might support selecting backends via features.\n\nCo-authored-by: Ivan Krivosheev \n\n* Combine trailers when streaming decode body\n\nWe aren't sure if multiple trailers should even be legal, but if we get multiple trailers in an HTTP body stream, we'll combine them all, to preserve their data.\n\nAlternatively we'd have to pick the first or last trailers, and that might lose information.\n\n* Tweak imports in transport example\n\nExample used `empty_body()`, which is now fully qualified as `tonic::body::empty_body()` to make clear that this is a tonic helper method for creating an empty BoxBody.\n\n* Remove commented out code from examples/h2c\n\n* tonic-web: avoid copy to vector to base64 encode\n\n* tonic-web: Merge subsequent trailer frames\n\nIdeally, a body should only return a single trailer frame. If multiple trailers are returned, merge them together.\n\n* Comment in tonic::status::find_status_in_source_chain\n\nComment mentions why we choose “Unavailable” for connection errors\n\n* Make TowerToHyperService crate-private\n\nThis also requires vendoring it in the rustls example, which doesn’t use a server type.\n\nMaking the type crate-private means we can delete some unused methods.\n\n* Fixup imports in tonic::transport\n\n---------\n\nCo-authored-by: Ivan Krivosheev \nCo-authored-by: Allan Zhang \nCo-authored-by: Ludea ","shortMessageHtmlLink":"Upgrade to Hyper 1.0 & Axum 0.7 (#1670)"}},{"before":null,"after":"9c1f2f9402d97cfa4c9d9065b5af2fb99d2ef521","ref":"refs/heads/gh-readonly-queue/master/pr-1670-df856237fd695275af80a168cb7e1af5999166cf","pushedAt":"2024-06-12T19:49:39.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"github-merge-queue[bot]","name":null,"path":"/apps/github-merge-queue","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/9919?s=80&v=4"},"commit":{"message":"Upgrade to Hyper 1.0 & Axum 0.7 (#1670)\n\n* Upgrade to hyper 1 and http 1\n\nUpgrades only in Cargo.toml\n\nCo-authored-by: Ivan Krivosheev \nCo-authored-by: Allan Zhang \n\n* Convert from hyper::Body to http_body::BoxedBody\n\nWhen appropriate, we replace `hyper::Body` with `http_body::BoxedBody`, a good general purpose replacement for `hyper::Body`.\n\nHyper does provide `hyper::body::Incoming`, but we cannot construct that, so anywhere we might need a body that we can construct (even most Service trait impls) we must use something like `http_body::BoxedBody`.\n\nWhen a service accepts `BoxedBody` and not `Incoming`, this indicates that the service is designed to run in places where it is not adjacent to hyper, for example, after routing (which is managed by Axum)\n\nAdditionally, http >= 1 requires that extension types are `Clone`, so this bound has been added where appropriate.\n\nCo-authored-by: Ivan Krivosheev \nCo-authored-by: Allan Zhang \n\n* Convert tonic::codec::decode to use http >= 1 body types\n\nThe Body trait has changed (removed `poll_data` and `poll_trailers`, they are now combined in `poll_frame`) and so the codec must be re-written to merge those two methods.\n\nCo-authored-by: Ivan Krivosheev \n\n* Convert tonic::transport::channel to use http >= 1 body types\n\ntonic::transport::channel previously used `hyper::Body` as the response body type. This type no longer exists in hyper >= 1, and so has been converted to a `BoxBody` provided by `http_body_util` designed for interoperability between http crates.\n\nCo-authored-by: Ivan Krivosheev \nCo-authored-by: Allan Zhang \n\n* [tests] Convert tonic::codec::prost::tests to use http >= 1 body types\n\nThe Body trait has changed (removed `poll_data` and `poll_trailers`, they are now combined in `poll_frame`) and so the codec must be re-written to merge those two methods. This also handles the return types which should now be wrapped in `Frame` when appropriate.\n\nCo-authored-by: Ivan Krivosheev \nCo-authored-by: Allan Zhang \n\n* Convert tonic::codec::encode to use http >= 1 body types\n\nThe Body trait has changed (removed `poll_data` and `poll_trailers`, they are now combined in `poll_frame`) and so the codec must be re-written to merge those two methods.\n\nCo-authored-by: Ivan Krivosheev \nCo-authored-by: Allan Zhang \n\n* [tests] Convert tonic::service::interceptor::tests to use http >= 1 body types\n\nThe Body trait has changed (removed `poll_data` and `poll_trailers`, they are now combined in `poll_frame`) and so the codec must be re-written to merge those two methods. This also handles the return types which should now be wrapped in `Frame` when appropriate.\n\nCo-authored-by: Ivan Krivosheev \nCo-authored-by: Allan Zhang \n\n* Convert tonic::transport to use http >= 1 body types\n\nHere, we must update some body types which are no longer valid. (A) BoxBody no longer has an `empty` method, instead we provide a helper in `tonic::body` for creating an empty boxed body via `http_body_util`. As well, `hyper::Body` is no longer a type, and instead, `hyper::Incoming` is used when directly recieving a Request from hyper, and `BoxBody` is used when the request may have passed through an axum router. In tonic, we prefer `BoxBody` as it allows for services to be used downstream from other components which enforce a specific body type (e.g. Axum), at the cost of making Body streaming opaque.\n\nCo-authored-by: Ivan Krivosheev \nCo-authored-by: Allan Zhang \n\n* Convert tonic::transport::server::recover_error to use http >= 1 body types\n\nThe Body trait has changed (removed `poll_data` and `poll_trailers`, they are now combined in `poll_frame`) and so the codec must be re-written to merge those two methods.\n\nCo-authored-by: Ivan Krivosheev \nCo-authored-by: Ludea \n\n* Convert h2c examples to use http >= 1 body types\n\nIn h2c, when a service is receiving from hyper, it has to accept a `hyper::body::Incoming` in hyper >= 1.\n\nAdditionally, response bodies must be built from `http_body_util` combinators and become BoxBody objects.\n\n* [tests] Convert MergeTrailers body wrapper in interop server\n\nThe Body trait has changed (removed `poll_data` and `poll_trailers`, they are now combined in `poll_frame`) and so the codec must be re-written to merge those two methods.\n\n* [tests] Convert compression tests to use hyper 1 body types\n\nThe Body trait has changed (removed `poll_data` and `poll_trailers`, they are now combined in `poll_frame`) and so the codec must be re-written to merge those two methods.\n\n* [tests] Convert complex_tower_middleware Body for hyper 1\n\nThe Body trait has changed (removed `poll_data` and `poll_trailers`, they are now combined in `poll_frame`) and so the codec must be re-written to merge those two methods.\n\n* [tests] Convert integration_tests::origin to use http >= 1 body types\n\nThe Body trait has changed (removed `poll_data` and `poll_trailers`, they are now combined in `poll_frame`) and so the codec must be re-written to merge those two methods.\n\n* Convert tonic-web to use http >= 1 body types\n\nThe Body trait has changed (removed `poll_data` and `poll_trailers`, they are now combined in `poll_frame`) and so the codec must be re-written to merge those two methods.\n\n* Adapt for hyper-specific IO traits\n\nhyper >= 1 provides its own I/O traits (Read & Write) instead of relying on the equivalent traits from `tokio`. Then, `hyper-util` provides adaptor structs to wrap `tokio` I/O objects and implement the hyper equivalents. Therefore, we update the appropriate bounds to use the hyper traits, and update the I/O objects so that they are wrapped in the tokio to hyper adaptor.\n\nCo-authored-by: Ivan Krivosheev \nCo-authored-by: Allan Zhang \n\n* Upgrade axum to 0.7\n\nAxum must be >= 0.7 to support hyper >= 1\n\nDoing this also involves changing the Body type used. Since hyper >= 1 does not provide a generic body type, Axum and tonic both use `BoxBody` to provide a pointer to a Body.\n\nThis changes the trait bounds required for methods which accept additional Serivces to be run alongside the primary GRPC service, since those will be routed with Axum, and therefore must accept a BoxBody.\n\nCo-authored-by: Ivan Krivosheev \nCo-authored-by: Allan Zhang \n\n* Convert service connector for hyper-1.0\n\nHyper >= 1 no longer includes automatic http2/http1 combined connections, and so we must swtich to the `http2::Builder` type (this is okay, we set http2_only(true) anyhow).\n\nAs well, hyper >= 1 is generic over executors and does not directly depend on tokio. Since http2 connections can be multiplexed, they require some additional background task to handle sending and receiving requests. Additionally, these background tasks do not natively implement `tower::Service` since hyper >= 1 does not depend on `tower`.\n\nTherefore, we re-implement the `SendRequest` task as a tower::Service, so that it can be used within `Connection`, which expects to operate on a tower::Service to serve connections.\n\nCo-authored-by: Ivan Krivosheev \nCo-authored-by: Allan Zhang \n\n* Convert hyper::Client to hyper_util::legacy::Client\n\n`hyper::Client` has been moved to `hyper_util::legacy::Client` in version 1.\n\nCo-authored-by: Ivan Krivosheev \nCo-authored-by: Allan Zhang \n\n* Identify and propogate connect errors\n\nhyper::Error no longer provides information about Connect errors, especially since hyper_util now contains the connection implementation, it does not provide a separate error type.\n\nInstead, we create an internal Error type which is used in our own connectors, and then checked when figuring out what the gRPC status should be.\n\n* Remove hyper::server::conn::AddrStream\n\nhyper >= 1 has deprecated all of `hyper::server`, including `AddrStream`\n\nCo-authored-by: Ivan Krivosheev \nCo-authored-by: Allan Zhang \n\nReplace hyper::server::Accept\n\nhyper::server is deprectaed. Instead, we implement our own TCP-incoming based on the now removed hyper::server::Accept.\n\nIn order to set `TCP_KEEPALIVE` we require the socket2 crate, since this option is not exposed in the standard library’s API. The implementaiton is inspired by that of hyper v0.14\n\n* [examples] In h2c, replace hyper::Server with an accept loop\n\nhyper::Server is deprecated, with no current common replacement. Instead of implementing (or using tonic’s new) full server in here, we write a simple accept loop, which is sufficient to demonstrate the functionality of h2c.\n\n* Upgrade tls dependencies\n\nhyper-rustls requires version 0.27.0 to support hyper >= 1, bringing a few other tls bumps along. Importantly, we add the “ring” and “tls12” features to use ring as the crypto backend, consistent with previous versions of tonic. A future version of tonic might support selecting backends via features.\n\nCo-authored-by: Ivan Krivosheev \n\n* Combine trailers when streaming decode body\n\nWe aren't sure if multiple trailers should even be legal, but if we get multiple trailers in an HTTP body stream, we'll combine them all, to preserve their data.\n\nAlternatively we'd have to pick the first or last trailers, and that might lose information.\n\n* Tweak imports in transport example\n\nExample used `empty_body()`, which is now fully qualified as `tonic::body::empty_body()` to make clear that this is a tonic helper method for creating an empty BoxBody.\n\n* Remove commented out code from examples/h2c\n\n* tonic-web: avoid copy to vector to base64 encode\n\n* tonic-web: Merge subsequent trailer frames\n\nIdeally, a body should only return a single trailer frame. If multiple trailers are returned, merge them together.\n\n* Comment in tonic::status::find_status_in_source_chain\n\nComment mentions why we choose “Unavailable” for connection errors\n\n* Make TowerToHyperService crate-private\n\nThis also requires vendoring it in the rustls example, which doesn’t use a server type.\n\nMaking the type crate-private means we can delete some unused methods.\n\n* Fixup imports in tonic::transport\n\n---------\n\nCo-authored-by: Ivan Krivosheev \nCo-authored-by: Allan Zhang \nCo-authored-by: Ludea ","shortMessageHtmlLink":"Upgrade to Hyper 1.0 & Axum 0.7 (#1670)"}},{"before":"df856237fd695275af80a168cb7e1af5999166cf","after":null,"ref":"refs/heads/gh-readonly-queue/master/pr-1722-d1558bdcb5c9c10f1d56ddcb5e73a6b4f18c6b6d","pushedAt":"2024-06-12T13:00:22.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"github-merge-queue[bot]","name":null,"path":"/apps/github-merge-queue","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/9919?s=80&v=4"}},{"before":"d1558bdcb5c9c10f1d56ddcb5e73a6b4f18c6b6d","after":"df856237fd695275af80a168cb7e1af5999166cf","ref":"refs/heads/master","pushedAt":"2024-06-12T13:00:21.000Z","pushType":"merge_queue_merge","commitsCount":1,"pusher":{"login":"github-merge-queue[bot]","name":null,"path":"/apps/github-merge-queue","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/9919?s=80&v=4"},"commit":{"message":"chore: Use t macro instead of reimplementing (#1722)","shortMessageHtmlLink":"chore: Use t macro instead of reimplementing (#1722)"}},{"before":null,"after":"df856237fd695275af80a168cb7e1af5999166cf","ref":"refs/heads/gh-readonly-queue/master/pr-1722-d1558bdcb5c9c10f1d56ddcb5e73a6b4f18c6b6d","pushedAt":"2024-06-12T13:00:21.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"github-merge-queue[bot]","name":null,"path":"/apps/github-merge-queue","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/9919?s=80&v=4"},"commit":{"message":"chore: Use t macro instead of reimplementing (#1722)","shortMessageHtmlLink":"chore: Use t macro instead of reimplementing (#1722)"}},{"before":"d1558bdcb5c9c10f1d56ddcb5e73a6b4f18c6b6d","after":null,"ref":"refs/heads/gh-readonly-queue/master/pr-1721-dfa089326534637e564273994e84866167d43715","pushedAt":"2024-06-11T07:27:10.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"github-merge-queue[bot]","name":null,"path":"/apps/github-merge-queue","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/9919?s=80&v=4"}},{"before":"dfa089326534637e564273994e84866167d43715","after":"d1558bdcb5c9c10f1d56ddcb5e73a6b4f18c6b6d","ref":"refs/heads/master","pushedAt":"2024-06-11T07:27:09.000Z","pushType":"merge_queue_merge","commitsCount":1,"pusher":{"login":"github-merge-queue[bot]","name":null,"path":"/apps/github-merge-queue","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/9919?s=80&v=4"},"commit":{"message":"chore: Refactor convert Status to http::Response (#1721)","shortMessageHtmlLink":"chore: Refactor convert Status to http::Response (#1721)"}},{"before":null,"after":"d1558bdcb5c9c10f1d56ddcb5e73a6b4f18c6b6d","ref":"refs/heads/gh-readonly-queue/master/pr-1721-dfa089326534637e564273994e84866167d43715","pushedAt":"2024-06-11T07:27:09.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"github-merge-queue[bot]","name":null,"path":"/apps/github-merge-queue","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/9919?s=80&v=4"},"commit":{"message":"chore: Refactor convert Status to http::Response (#1721)","shortMessageHtmlLink":"chore: Refactor convert Status to http::Response (#1721)"}},{"before":"dfa089326534637e564273994e84866167d43715","after":null,"ref":"refs/heads/gh-readonly-queue/master/pr-1570-96a8cbc04d0cad6d30d2944dba6b32aac8975f91","pushedAt":"2024-06-10T20:24:43.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"github-merge-queue[bot]","name":null,"path":"/apps/github-merge-queue","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/9919?s=80&v=4"}},{"before":"96a8cbc04d0cad6d30d2944dba6b32aac8975f91","after":"dfa089326534637e564273994e84866167d43715","ref":"refs/heads/master","pushedAt":"2024-06-10T20:24:42.000Z","pushType":"merge_queue_merge","commitsCount":1,"pusher":{"login":"github-merge-queue[bot]","name":null,"path":"/apps/github-merge-queue","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/9919?s=80&v=4"},"commit":{"message":"chore: Use cargo-no-dev-deps to check msrv (#1570)","shortMessageHtmlLink":"chore: Use cargo-no-dev-deps to check msrv (#1570)"}},{"before":null,"after":"dfa089326534637e564273994e84866167d43715","ref":"refs/heads/gh-readonly-queue/master/pr-1570-96a8cbc04d0cad6d30d2944dba6b32aac8975f91","pushedAt":"2024-06-10T20:24:42.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"github-merge-queue[bot]","name":null,"path":"/apps/github-merge-queue","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/9919?s=80&v=4"},"commit":{"message":"chore: Use cargo-no-dev-deps to check msrv (#1570)","shortMessageHtmlLink":"chore: Use cargo-no-dev-deps to check msrv (#1570)"}},{"before":"96a8cbc04d0cad6d30d2944dba6b32aac8975f91","after":null,"ref":"refs/heads/gh-readonly-queue/master/pr-1707-c7836521dd417434d625bd653fcf00fb7f7ae25e","pushedAt":"2024-06-10T20:23:02.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"github-merge-queue[bot]","name":null,"path":"/apps/github-merge-queue","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/9919?s=80&v=4"}},{"before":"c7836521dd417434d625bd653fcf00fb7f7ae25e","after":"96a8cbc04d0cad6d30d2944dba6b32aac8975f91","ref":"refs/heads/master","pushedAt":"2024-06-10T20:23:01.000Z","pushType":"merge_queue_merge","commitsCount":1,"pusher":{"login":"github-merge-queue[bot]","name":null,"path":"/apps/github-merge-queue","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/9919?s=80&v=4"},"commit":{"message":"feat(tls): Use rustls_pki_types::CertificateDer to describe DER encoded certificate (#1707)\n\n* feat(tls): Add CertificateDer to describe DER encoded certificate\n\n* feat(tls): Use rustls_pki_types::CertificateDer to describe DER encoded certificate\n\n* chore(tls): Refactor internal connect info","shortMessageHtmlLink":"feat(tls): Use rustls_pki_types::CertificateDer to describe DER encod…"}},{"before":null,"after":"96a8cbc04d0cad6d30d2944dba6b32aac8975f91","ref":"refs/heads/gh-readonly-queue/master/pr-1707-c7836521dd417434d625bd653fcf00fb7f7ae25e","pushedAt":"2024-06-10T20:23:01.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"github-merge-queue[bot]","name":null,"path":"/apps/github-merge-queue","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/9919?s=80&v=4"},"commit":{"message":"feat(tls): Use rustls_pki_types::CertificateDer to describe DER encoded certificate (#1707)\n\n* feat(tls): Add CertificateDer to describe DER encoded certificate\n\n* feat(tls): Use rustls_pki_types::CertificateDer to describe DER encoded certificate\n\n* chore(tls): Refactor internal connect info","shortMessageHtmlLink":"feat(tls): Use rustls_pki_types::CertificateDer to describe DER encod…"}},{"before":null,"after":"c7836521dd417434d625bd653fcf00fb7f7ae25e","ref":"refs/heads/v0.11.x","pushedAt":"2024-06-05T21:14:07.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"LucioFranco","name":"Lucio Franco","path":"/LucioFranco","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/5758045?s=80&v=4"},"commit":{"message":"add more explicit logging (#1658)\n\nCo-authored-by: tottoto ","shortMessageHtmlLink":"add more explicit logging (#1658)"}},{"before":"c7836521dd417434d625bd653fcf00fb7f7ae25e","after":null,"ref":"refs/heads/gh-readonly-queue/master/pr-1658-d9fa67395a550504913c774cf2d58adbd2563f36","pushedAt":"2024-06-02T07:29:17.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"github-merge-queue[bot]","name":null,"path":"/apps/github-merge-queue","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/9919?s=80&v=4"}},{"before":"d9fa67395a550504913c774cf2d58adbd2563f36","after":"c7836521dd417434d625bd653fcf00fb7f7ae25e","ref":"refs/heads/master","pushedAt":"2024-06-02T07:29:16.000Z","pushType":"merge_queue_merge","commitsCount":1,"pusher":{"login":"github-merge-queue[bot]","name":null,"path":"/apps/github-merge-queue","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/9919?s=80&v=4"},"commit":{"message":"add more explicit logging (#1658)\n\nCo-authored-by: tottoto ","shortMessageHtmlLink":"add more explicit logging (#1658)"}},{"before":null,"after":"c7836521dd417434d625bd653fcf00fb7f7ae25e","ref":"refs/heads/gh-readonly-queue/master/pr-1658-d9fa67395a550504913c774cf2d58adbd2563f36","pushedAt":"2024-06-02T07:29:16.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"github-merge-queue[bot]","name":null,"path":"/apps/github-merge-queue","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/9919?s=80&v=4"},"commit":{"message":"add more explicit logging (#1658)\n\nCo-authored-by: tottoto ","shortMessageHtmlLink":"add more explicit logging (#1658)"}},{"before":"d9fa67395a550504913c774cf2d58adbd2563f36","after":null,"ref":"refs/heads/gh-readonly-queue/master/pr-1369-d1dbd0318dc6e4df54606c8a659dee59b62cf23d","pushedAt":"2024-05-31T13:03:07.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"github-merge-queue[bot]","name":null,"path":"/apps/github-merge-queue","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/9919?s=80&v=4"}},{"before":"d1dbd0318dc6e4df54606c8a659dee59b62cf23d","after":"d9fa67395a550504913c774cf2d58adbd2563f36","ref":"refs/heads/master","pushedAt":"2024-05-31T13:03:07.000Z","pushType":"merge_queue_merge","commitsCount":1,"pusher":{"login":"github-merge-queue[bot]","name":null,"path":"/apps/github-merge-queue","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/9919?s=80&v=4"},"commit":{"message":"docs: simplify helloworld-tutorial (#1369)\n\n- Remove the `hello_world` crate prefix, `HelloReply` is imported directly.\r\n- Remove useless calls to `into()`:\r\n\r\nerror: useless conversion to the same type: `std::string::String`\r\n --> src/main.rs:18:22\r\n |\r\n18 | message: format!(\"Hello {}!\", request.into_inner().name).into(),\r\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider removing `.into()`: `format!(\"Hello {}!\", request.into_inner().name)`\r\n |\r\n = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion\r\n = note: `-D clippy::useless-conversion` implied by `-D warnings`\n\nCo-authored-by: tottoto ","shortMessageHtmlLink":"docs: simplify helloworld-tutorial (#1369)"}},{"before":null,"after":"d9fa67395a550504913c774cf2d58adbd2563f36","ref":"refs/heads/gh-readonly-queue/master/pr-1369-d1dbd0318dc6e4df54606c8a659dee59b62cf23d","pushedAt":"2024-05-31T13:03:06.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"github-merge-queue[bot]","name":null,"path":"/apps/github-merge-queue","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/9919?s=80&v=4"},"commit":{"message":"docs: simplify helloworld-tutorial (#1369)\n\n- Remove the `hello_world` crate prefix, `HelloReply` is imported directly.\r\n- Remove useless calls to `into()`:\r\n\r\nerror: useless conversion to the same type: `std::string::String`\r\n --> src/main.rs:18:22\r\n |\r\n18 | message: format!(\"Hello {}!\", request.into_inner().name).into(),\r\n | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider removing `.into()`: `format!(\"Hello {}!\", request.into_inner().name)`\r\n |\r\n = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion\r\n = note: `-D clippy::useless-conversion` implied by `-D warnings`\n\nCo-authored-by: tottoto ","shortMessageHtmlLink":"docs: simplify helloworld-tutorial (#1369)"}},{"before":"d1dbd0318dc6e4df54606c8a659dee59b62cf23d","after":null,"ref":"refs/heads/gh-readonly-queue/master/pr-1665-70e031071f410588c11109c984ff61b6b1c382c1","pushedAt":"2024-05-31T11:33:27.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"github-merge-queue[bot]","name":null,"path":"/apps/github-merge-queue","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/9919?s=80&v=4"}},{"before":"70e031071f410588c11109c984ff61b6b1c382c1","after":"d1dbd0318dc6e4df54606c8a659dee59b62cf23d","ref":"refs/heads/master","pushedAt":"2024-05-31T11:33:26.000Z","pushType":"merge_queue_merge","commitsCount":1,"pusher":{"login":"github-merge-queue[bot]","name":null,"path":"/apps/github-merge-queue","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/9919?s=80&v=4"},"commit":{"message":"examples: fix typo (#1665)\n\nCo-authored-by: tottoto ","shortMessageHtmlLink":"examples: fix typo (#1665)"}}],"hasNextPage":true,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"djE6ks8AAAAEY7wM-wA","startCursor":null,"endCursor":null}},"title":"Activity · hyperium/tonic"}