| 60b131d2 | 15-Nov-2024 |
tottoto <[email protected]> |
feat: Add Body type (#2013) |
| be4e0e77 | 07-Oct-2024 |
tottoto <[email protected]> |
chore: Refactor empty body constructor (#1981)
* chore: Refactor empty body constructor
* chore: Deprecate empty_body api |
| 1470dfb9 | 27-Sep-2024 |
tottoto <[email protected]> |
chore: Generate file descriptor set constant directly (#1956) |
| 517b7fc9 | 26-Sep-2024 |
Dirkjan Ochtman <[email protected]> |
Use constants for header names (#1933)
* tonic: rename header name consts and make public
* tonic: use header name constants in more places |
| 6d93c1d0 | 23-Sep-2024 |
tottoto <[email protected]> |
chore: Make codegen independent from protoc (#1953) |
| f074f134 | 21-Sep-2024 |
tottoto <[email protected]> |
chore(health): Update generated code (#1951) |
| 626b0947 | 09-Sep-2024 |
Alice Carroll <[email protected]> |
build: suppress `clippy::wildcard_imports` in generated code (#1937) |
| f7865372 | 09-Sep-2024 |
tottoto <[email protected]> |
chore(build): Remove unwrap from generated code (#1928) |
| 3a706b24 | 04-Sep-2024 |
tottoto <[email protected]> |
chore: Use Status constructor for each kind of status (#1913) |
| a8f012d6 | 31-Aug-2024 |
tottoto <[email protected]> |
chore: Update generated code (#1906) |
| 7fb40a98 | 20-Aug-2024 |
tottoto <[email protected]> |
chore: Remove unnecessary static lifetime (#1877) |
| e866b00b | 19-Aug-2024 |
Jacob Pratt <[email protected]> |
Remove unnecessary trait bounds from server (#1872) |
| d42daaf7 | 08-Aug-2024 |
Mikhail Katychev <[email protected]> |
Expose formatted service name as a `const fn` (#1684)
* expose service name as a const fn
* pub fn
* revert example
* updated const fn to be a binding
* updated with SERVICE_NAME const
* update
Expose formatted service name as a `const fn` (#1684)
* expose service name as a const fn
* pub fn
* revert example
* updated const fn to be a binding
* updated with SERVICE_NAME const
* updated codegen
* made SERVICE_NAME pub
show more ...
|
| 5016dd1f | 23-Jul-2024 |
WarrenS <[email protected]> |
Naming collisions with std::marker::Sync/Send (#1804)
* switched usage Sync and Send to their direct imports
* fix broken replacements
* Ran cargo run --package codegen
* update bin |
| 3df62feb | 08-Jul-2024 |
Lucio Franco <[email protected]> |
feat: update `prost` to `v0.13.0` (#1779)
BREAKING CHANGE: update prost version to v0.13.0 |
| 94d91dd8 | 19-Jun-2024 |
Gabriel Hansson <[email protected]> |
chore(codegen): Deprecate _Inner<T>. (#1647)
Removes a redundant clone in the `tower-service::Service::call()` implementation, and reduces the amount of generated code. Does not break any user facin
chore(codegen): Deprecate _Inner<T>. (#1647)
Removes a redundant clone in the `tower-service::Service::call()` implementation, and reduces the amount of generated code. Does not break any user facing API.
show more ...
|
| e2c506ac | 17-Jun-2024 |
Ivan Krivosheev <[email protected]> |
Add a `GRPC_CONTENT_TYPE` for "application/grpc". (#1733)
* Add a `GRPC_CONTENT_TYPE` for "application/grpc".
Currently defined in `tonic::metadata`. Would need guidance from maintainers for where
Add a `GRPC_CONTENT_TYPE` for "application/grpc". (#1733)
* Add a `GRPC_CONTENT_TYPE` for "application/grpc".
Currently defined in `tonic::metadata`. Would need guidance from maintainers for where it might be better located.
* Fixed tests
---------
Co-authored-by: gibbz00 <[email protected]>
show more ...
|
| 068421a0 | 25-Apr-2024 |
tottoto <[email protected]> |
chore: Update generated code (#1677)
* chore: Update generated code
* add allow dead_code for integ test
---------
Co-authored-by: Lucio Franco <[email protected]> |
| 7b2b0eea | 28-Aug-2023 |
tottoto <[email protected]> |
chore: Add generated code to module tree (#1480) |
| 60d776b0 | 02-Aug-2023 |
Lucio Franco <[email protected]> |
fix(codegen): Use stream type from codegen mod (#1446)
* fix(codegen): Use stream type from codegen mod
* Add generated code |
| c9c4acbc | 22-Jun-2023 |
tottoto <[email protected]> |
chore: Use cargo-udeps to check unused dependencies (#1364)
* chore: Use cargo-udeps to check unused dependencies
* Exclude uds example on windows
* Revert to use tokio_stream::Stream instead of f
chore: Use cargo-udeps to check unused dependencies (#1364)
* chore: Use cargo-udeps to check unused dependencies
* Exclude uds example on windows
* Revert to use tokio_stream::Stream instead of futures_core::Stream
* Replace all futures_core:Stream with tokio_stream::Stream
* chore(web): Replace futures_core::Stream with tokio_stream::Stream
* chore(web): Use std version ready instead of futures-core version
* chore(tonic): Use futures-core via futures-util
* Revert "chore(web): Use std version ready instead of futures-core version"
This reverts commit 9d9458d9e632613f35f34c877bc162b3a03967b6.
* chore(examples): Refactor dependencies
* chore(tonic): Use tokio-stream::iter
* chore(reflection): Use tokio-stream::iter
---------
Co-authored-by: Lucio Franco <[email protected]>
show more ...
|
| 4942dd4a | 19-Apr-2023 |
Auri <[email protected]> |
tonic-build: option to emit `Arc<Self>` as server receiver (#1352)
This implements an option to emit `Arc<Self>` instead of `&self` in server traits. This enables implementor to reference `Self` dat
tonic-build: option to emit `Arc<Self>` as server receiver (#1352)
This implements an option to emit `Arc<Self>` instead of `&self` in server traits. This enables implementor to reference `Self` data for indefinite duration, which may be useful for streaming requests.
Fixes: #1351
show more ...
|
| ff331199 | 30-Mar-2023 |
Lucio Franco <[email protected]> |
feat(core): Default encoding/decoding limits (#1335)
* feat(core): Default encoding/decoding limits
This PR adds new defaults for both client and server max encoding/decoding message size limits. B
feat(core): Default encoding/decoding limits (#1335)
* feat(core): Default encoding/decoding limits
This PR adds new defaults for both client and server max encoding/decoding message size limits. By default, the max message decoding size is `4MB` and the max message encoding size is `usize::MAX`.
This is follow up work from https://github.com/hyperium/tonic/pull/1274
BREAKING: Default max message encoding/decoding limits
* update generated code
show more ...
|
| 7a6b20d8 | 23-Feb-2023 |
林玮 (Jade Lin) <[email protected]> |
feat: add GrpcMethod extension into request for client (#1275)
* feat: add GrpcMethod extension into request for client
* refactor: change GrpcMethod fields into private and expose methods instead
feat: add GrpcMethod extension into request for client (#1275)
* feat: add GrpcMethod extension into request for client
* refactor: change GrpcMethod fields into private and expose methods instead
* refactor: hide GrpcMethod::new in doc
---------
Co-authored-by: Lucio Franco <[email protected]>
show more ...
|
| 9f716d84 | 17-Feb-2023 |
Moncef AOUDIA <[email protected]> |
feat(codec): Configure max request message size (#1274)
* feat(codec): add max_message_size parameter
resolves #1097
* refactor(client): add max size parameters
* refactor(tonic-build): update se
feat(codec): Configure max request message size (#1274)
* feat(codec): add max_message_size parameter
resolves #1097
* refactor(client): add max size parameters
* refactor(tonic-build): update server gen template
* refactor(tonic-build): update client template
* fix(tonic-build): update client template
* fix(tonic-build): small typo in server.rs
* fix(tonic-build): client.rs generator
* fix(tonic): add apply max message setting size to server
* fix(test): wrong message size
* fix: doctest + generated rs
show more ...
|