History log of /tonic/tonic-reflection/src/generated/ (Results 1 – 25 of 30)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
60b131d215-Nov-2024 tottoto <[email protected]>

feat: Add Body type (#2013)


/tonic/.github/workflows/CI.yml
/tonic/codegen/src/main.rs
/tonic/deny.toml
/tonic/examples/Cargo.toml
/tonic/examples/helloworld-tutorial.md
/tonic/examples/routeguide-tutorial.md
/tonic/examples/src/dynamic_load_balance/client.rs
/tonic/examples/src/h2c/client.rs
/tonic/examples/src/h2c/server.rs
/tonic/examples/src/tls_rustls/client.rs
/tonic/examples/src/tls_rustls/server.rs
/tonic/examples/src/tower/client.rs
/tonic/examples/src/tower/server.rs
/tonic/interop/Cargo.toml
/tonic/interop/data/ca.pem
/tonic/interop/data/cert-generator/ca.tf
/tonic/interop/data/cert-generator/server_certs.tf
/tonic/interop/data/server1.key
/tonic/interop/data/server1.pem
/tonic/interop/src/server.rs
/tonic/tests/compression/Cargo.toml
/tonic/tests/compression/src/util.rs
/tonic/tests/integration_tests/Cargo.toml
/tonic/tests/integration_tests/tests/connection.rs
/tonic/tests/integration_tests/tests/extensions.rs
/tonic/tests/integration_tests/tests/origin.rs
/tonic/tests/web/tests/grpc_web.rs
/tonic/tonic-build/Cargo.toml
/tonic/tonic-build/src/client.rs
/tonic/tonic-build/src/lib.rs
/tonic/tonic-build/src/server.rs
/tonic/tonic-health/Cargo.toml
/tonic/tonic-health/src/generated/grpc_health_v1.rs
/tonic/tonic-health/src/lib.rs
/tonic/tonic-reflection/Cargo.toml
grpc_reflection_v1.rs
grpc_reflection_v1alpha.rs
/tonic/tonic-reflection/src/lib.rs
/tonic/tonic-types/Cargo.toml
/tonic/tonic-types/src/lib.rs
/tonic/tonic-web/Cargo.toml
/tonic/tonic-web/src/call.rs
/tonic/tonic-web/src/client.rs
/tonic/tonic-web/src/layer.rs
/tonic/tonic-web/src/lib.rs
/tonic/tonic-web/src/service.rs
/tonic/tonic/Cargo.toml
/tonic/tonic/src/body.rs
/tonic/tonic/src/client/grpc.rs
/tonic/tonic/src/client/service.rs
/tonic/tonic/src/codec/decode.rs
/tonic/tonic/src/codegen.rs
/tonic/tonic/src/lib.rs
/tonic/tonic/src/metadata/key.rs
/tonic/tonic/src/metadata/map.rs
/tonic/tonic/src/metadata/value.rs
/tonic/tonic/src/request.rs
/tonic/tonic/src/server/grpc.rs
/tonic/tonic/src/service/interceptor.rs
/tonic/tonic/src/service/mod.rs
/tonic/tonic/src/service/router.rs
/tonic/tonic/src/status.rs
/tonic/tonic/src/transport/channel/endpoint.rs
/tonic/tonic/src/transport/channel/mod.rs
/tonic/tonic/src/transport/channel/service/add_origin.rs
/tonic/tonic/src/transport/channel/service/connection.rs
/tonic/tonic/src/transport/channel/service/connector.rs
/tonic/tonic/src/transport/channel/service/discover.rs
/tonic/tonic/src/transport/channel/service/mod.rs
/tonic/tonic/src/transport/channel/service/reconnect.rs
/tonic/tonic/src/transport/channel/service/tls.rs
/tonic/tonic/src/transport/channel/tls.rs
/tonic/tonic/src/transport/error.rs
/tonic/tonic/src/transport/mod.rs
/tonic/tonic/src/transport/server/conn.rs
/tonic/tonic/src/transport/server/incoming.rs
/tonic/tonic/src/transport/server/mod.rs
/tonic/tonic/src/transport/server/service/io.rs
/tonic/tonic/src/transport/server/service/mod.rs
/tonic/tonic/src/transport/server/service/recover_error.rs
/tonic/tonic/src/transport/server/service/tls.rs
/tonic/tonic/src/transport/server/tls.rs
/tonic/tonic/src/transport/service/grpc_timeout.rs
/tonic/tonic/src/transport/service/mod.rs
/tonic/tonic/src/transport/service/tls.rs
be4e0e7707-Oct-2024 tottoto <[email protected]>

chore: Refactor empty body constructor (#1981)

* chore: Refactor empty body constructor

* chore: Deprecate empty_body api

1470dfb927-Sep-2024 tottoto <[email protected]>

chore: Generate file descriptor set constant directly (#1956)

517b7fc926-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

6d93c1d023-Sep-2024 tottoto <[email protected]>

chore: Make codegen independent from protoc (#1953)

626b094709-Sep-2024 Alice Carroll <[email protected]>

build: suppress `clippy::wildcard_imports` in generated code (#1937)

f786537209-Sep-2024 tottoto <[email protected]>

chore(build): Remove unwrap from generated code (#1928)

3a706b2404-Sep-2024 tottoto <[email protected]>

chore: Use Status constructor for each kind of status (#1913)

a8f012d631-Aug-2024 tottoto <[email protected]>

chore: Update generated code (#1906)


/tonic/.github/workflows/CI.yml
/tonic/.gitignore
/tonic/CHANGELOG.md
/tonic/Cargo.toml
/tonic/README.md
/tonic/examples/src/h2c/server.rs
/tonic/examples/src/reflection/server.rs
/tonic/examples/src/tls_rustls/server.rs
/tonic/interop/build.rs
/tonic/interop/src/server.rs
/tonic/tests/deprecated_methods/Cargo.toml
/tonic/tests/deprecated_methods/build.rs
/tonic/tests/deprecated_methods/proto/test.proto
/tonic/tests/deprecated_methods/src/lib.rs
/tonic/tests/deprecated_methods/tests/deprecated_methods.rs
/tonic/tests/integration_tests/tests/connection.rs
/tonic/tests/skip_debug/Cargo.toml
/tonic/tests/skip_debug/build.rs
/tonic/tests/skip_debug/proto/test.proto
/tonic/tests/skip_debug/src/lib.rs
/tonic/tests/skip_debug/tests/skip_debug.rs
/tonic/tonic-build/Cargo.toml
/tonic/tonic-build/src/client.rs
/tonic/tonic-build/src/lib.rs
/tonic/tonic-build/src/manual.rs
/tonic/tonic-build/src/prost.rs
/tonic/tonic-health/Cargo.toml
/tonic/tonic-health/src/generated/grpc_health_v1.rs
/tonic/tonic-health/src/lib.rs
/tonic/tonic-reflection/Cargo.toml
grpc_reflection_v1.rs
grpc_reflection_v1alpha.rs
/tonic/tonic-reflection/src/lib.rs
/tonic/tonic-reflection/src/server/mod.rs
/tonic/tonic-reflection/src/server/v1.rs
/tonic/tonic-reflection/src/server/v1alpha.rs
/tonic/tonic-reflection/tests/server.rs
/tonic/tonic-reflection/tests/versions.rs
/tonic/tonic-types/Cargo.toml
/tonic/tonic-types/src/generated/google_rpc.rs
/tonic/tonic-types/src/lib.rs
/tonic/tonic-web/Cargo.toml
/tonic/tonic-web/src/call.rs
/tonic/tonic-web/src/lib.rs
/tonic/tonic-web/tests/integration/build.rs
/tonic/tonic/Cargo.toml
/tonic/tonic/src/lib.rs
/tonic/tonic/src/service/router.rs
/tonic/tonic/src/transport/channel/endpoint.rs
/tonic/tonic/src/transport/channel/tls.rs
/tonic/tonic/src/transport/server/incoming.rs
/tonic/tonic/src/transport/server/mod.rs
7fb40a9820-Aug-2024 tottoto <[email protected]>

chore: Remove unnecessary static lifetime (#1877)

e866b00b19-Aug-2024 Jacob Pratt <[email protected]>

Remove unnecessary trait bounds from server (#1872)

d42daaf708-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 ...

5016dd1f23-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


/tonic/.github/workflows/CI.yml
/tonic/CHANGELOG.md
/tonic/examples/Cargo.toml
/tonic/examples/helloworld-tutorial.md
/tonic/examples/routeguide-tutorial.md
/tonic/examples/src/authentication/server.rs
/tonic/examples/src/dynamic/server.rs
/tonic/examples/src/h2c/server.rs
/tonic/examples/src/multiplex/server.rs
/tonic/examples/src/richer-error/server.rs
/tonic/examples/src/richer-error/server_vec.rs
/tonic/examples/src/routeguide/server.rs
/tonic/examples/src/streaming/server.rs
/tonic/examples/src/tls/server.rs
/tonic/examples/src/tls_client_auth/server.rs
/tonic/examples/src/tls_rustls/client.rs
/tonic/examples/src/tls_rustls/server.rs
/tonic/examples/src/tower/server.rs
/tonic/interop/Cargo.toml
/tonic/interop/src/server.rs
/tonic/tests/ambiguous_methods/Cargo.toml
/tonic/tests/compression/Cargo.toml
/tonic/tests/default_stubs/Cargo.toml
/tonic/tests/disable_comments/Cargo.toml
/tonic/tests/extern_path/my_application/Cargo.toml
/tonic/tests/extern_path/uuid/Cargo.toml
/tonic/tests/included_service/Cargo.toml
/tonic/tests/integration_tests/Cargo.toml
/tonic/tests/integration_tests/tests/routes_builder.rs
/tonic/tests/integration_tests/tests/status.rs
/tonic/tests/root-crate-path/Cargo.toml
/tonic/tests/same_name/Cargo.toml
/tonic/tests/service_named_result/Cargo.toml
/tonic/tests/service_named_service/Cargo.toml
/tonic/tests/stream_conflict/Cargo.toml
/tonic/tests/use_arc_self/Cargo.toml
/tonic/tests/wellknown-compiled/Cargo.toml
/tonic/tests/wellknown/Cargo.toml
/tonic/tonic-build/Cargo.toml
/tonic/tonic-build/src/client.rs
/tonic/tonic-build/src/lib.rs
/tonic/tonic-build/src/prost.rs
/tonic/tonic-build/src/server.rs
/tonic/tonic-health/Cargo.toml
/tonic/tonic-health/src/generated/grpc_health_v1.rs
/tonic/tonic-health/src/lib.rs
/tonic/tonic-health/src/server.rs
/tonic/tonic-reflection/Cargo.toml
grpc_reflection_v1.rs
grpc_reflection_v1alpha.rs
/tonic/tonic-reflection/src/lib.rs
/tonic/tonic-reflection/src/server/mod.rs
/tonic/tonic-reflection/src/server/v1.rs
/tonic/tonic-types/Cargo.toml
/tonic/tonic-types/src/generated/google_rpc.rs
/tonic/tonic-types/src/lib.rs
/tonic/tonic-web/Cargo.toml
/tonic/tonic-web/src/call.rs
/tonic/tonic-web/src/client.rs
/tonic/tonic-web/src/layer.rs
/tonic/tonic-web/src/lib.rs
/tonic/tonic-web/tests/integration/Cargo.toml
/tonic/tonic/Cargo.toml
/tonic/tonic/src/body.rs
/tonic/tonic/src/codec/compression.rs
/tonic/tonic/src/codec/decode.rs
/tonic/tonic/src/codec/encode.rs
/tonic/tonic/src/codec/mod.rs
/tonic/tonic/src/lib.rs
/tonic/tonic/src/metadata/key.rs
/tonic/tonic/src/metadata/value.rs
/tonic/tonic/src/request.rs
/tonic/tonic/src/response.rs
/tonic/tonic/src/server/grpc.rs
/tonic/tonic/src/service/interceptor.rs
/tonic/tonic/src/service/mod.rs
/tonic/tonic/src/service/router.rs
/tonic/tonic/src/status.rs
/tonic/tonic/src/transport/channel/endpoint.rs
/tonic/tonic/src/transport/channel/mod.rs
/tonic/tonic/src/transport/channel/service/add_origin.rs
/tonic/tonic/src/transport/channel/service/connection.rs
/tonic/tonic/src/transport/channel/service/connector.rs
/tonic/tonic/src/transport/channel/service/executor.rs
/tonic/tonic/src/transport/channel/service/reconnect.rs
/tonic/tonic/src/transport/channel/service/tls.rs
/tonic/tonic/src/transport/channel/tls.rs
/tonic/tonic/src/transport/mod.rs
/tonic/tonic/src/transport/server/conn.rs
/tonic/tonic/src/transport/server/incoming.rs
/tonic/tonic/src/transport/server/mod.rs
/tonic/tonic/src/transport/server/service/io.rs
/tonic/tonic/src/transport/server/service/mod.rs
/tonic/tonic/src/transport/server/service/recover_error.rs
/tonic/tonic/src/transport/server/service/tls.rs
/tonic/tonic/src/transport/server/tls.rs
/tonic/tonic/src/transport/server/unix.rs
/tonic/tonic/src/transport/service/grpc_timeout.rs
/tonic/tonic/src/transport/service/mod.rs
/tonic/tonic/src/transport/service/tls.rs
88c83def19-Jun-2024 Lucio Franco <[email protected]>

chore: fix merge queue (#1735)

* chore: fix merge queue

* run codegen

94d91dd819-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 ...

e2c506ac17-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 ...


/tonic/.github/workflows/CI.yml
/tonic/deny.toml
/tonic/examples/Cargo.toml
/tonic/examples/helloworld-tutorial.md
/tonic/examples/src/grpc-web/client.rs
/tonic/examples/src/h2c/client.rs
/tonic/examples/src/h2c/server.rs
/tonic/examples/src/interceptor/server.rs
/tonic/examples/src/mock/mock.rs
/tonic/examples/src/streaming/client.rs
/tonic/examples/src/streaming/server.rs
/tonic/examples/src/tls_rustls/client.rs
/tonic/examples/src/tls_rustls/server.rs
/tonic/examples/src/tower/client.rs
/tonic/examples/src/tower/server.rs
/tonic/examples/src/uds/client.rs
/tonic/interop/Cargo.toml
/tonic/interop/src/server.rs
/tonic/tests/compression/Cargo.toml
/tonic/tests/compression/src/util.rs
/tonic/tests/integration_tests/Cargo.toml
/tonic/tests/integration_tests/tests/complex_tower_middleware.rs
/tonic/tests/integration_tests/tests/connect_info.rs
/tonic/tests/integration_tests/tests/extensions.rs
/tonic/tests/integration_tests/tests/http2_keep_alive.rs
/tonic/tests/integration_tests/tests/max_message_size.rs
/tonic/tests/integration_tests/tests/origin.rs
/tonic/tests/integration_tests/tests/status.rs
/tonic/tonic-build/src/server.rs
/tonic/tonic-health/src/generated/grpc_health_v1.rs
grpc_reflection_v1.rs
grpc_reflection_v1alpha.rs
/tonic/tonic-web/Cargo.toml
/tonic/tonic-web/src/call.rs
/tonic/tonic-web/src/layer.rs
/tonic/tonic-web/src/lib.rs
/tonic/tonic-web/src/service.rs
/tonic/tonic-web/tests/integration/Cargo.toml
/tonic/tonic-web/tests/integration/tests/grpc_web.rs
/tonic/tonic/Cargo.toml
/tonic/tonic/benches/decode.rs
/tonic/tonic/src/body.rs
/tonic/tonic/src/client/grpc.rs
/tonic/tonic/src/codec/decode.rs
/tonic/tonic/src/codec/encode.rs
/tonic/tonic/src/codec/prost.rs
/tonic/tonic/src/extensions.rs
/tonic/tonic/src/lib.rs
/tonic/tonic/src/metadata/mod.rs
/tonic/tonic/src/request.rs
/tonic/tonic/src/response.rs
/tonic/tonic/src/server/grpc.rs
/tonic/tonic/src/service/interceptor.rs
/tonic/tonic/src/service/mod.rs
/tonic/tonic/src/service/router.rs
/tonic/tonic/src/status.rs
/tonic/tonic/src/transport/channel/endpoint.rs
/tonic/tonic/src/transport/channel/mod.rs
/tonic/tonic/src/transport/channel/tls.rs
/tonic/tonic/src/transport/mod.rs
/tonic/tonic/src/transport/server/conn.rs
/tonic/tonic/src/transport/server/incoming.rs
/tonic/tonic/src/transport/server/mod.rs
/tonic/tonic/src/transport/server/recover_error.rs
/tonic/tonic/src/transport/service/connection.rs
/tonic/tonic/src/transport/service/connector.rs
/tonic/tonic/src/transport/service/discover.rs
/tonic/tonic/src/transport/service/executor.rs
/tonic/tonic/src/transport/service/io.rs
/tonic/tonic/src/transport/service/mod.rs
/tonic/tonic/src/transport/service/tls.rs
b29f466829-May-2024 katelyn martin <[email protected]>

tonic-reflection: �� use `v1` reflection protobuffer definitions (#1701)

this fixes #1685.

in penumbra-zone/penumbra#4392, we observed that tonic servers do not
properly support reflection when ser

tonic-reflection: �� use `v1` reflection protobuffer definitions (#1701)

this fixes #1685.

in penumbra-zone/penumbra#4392, we observed that tonic servers do not
properly support reflection when servicing a request sent by recent
versions of [`grpcurl`], after [v1.8.8] began using
`grpc.reflection.v1.ServerReflection`. (see fullstorydev/grpcurl#407)

these lead to an error regarding an unexpected status code, like this:

```
❯ grpcurl --version
grpcurl v1.9.1

❯ grpcurl -vv grpc.testnet.penumbra.zone:443 list
Failed to list services: rpc error: code = Unknown desc = unexpected HTTP status code received from server: 405 (Method Not Allowed); malformed header: missing HTTP content-type
```

this adds the v1 reflection definition to `tonic-reflection`, which was
observed as fixing these issues for our gRPC endpoint.

### �� changes

changes in this commet are as follows:

* vendors the `v1` definition of [`reflection.proto`][proto].

* renames the (deprecated) `v1alpha` definition to
`reflection_v1alpha.proto`.

* `tonic_reflection::generated::grpc_reflection_v1` links to the
generated Rust code (created by running `cargo run --package codegen`).

* `tonic_reflection::generated::FILE_DESCRIPTOR_SET` is replaced by
`tonic_reflection::generated::{FILE_DESCRIPTOR_SET_V1ALPHA, FILE_DESCRIPTOR_SET_V1}`.

* `tonic_reflection::pb` now contains namespaced
`tonic_reflection::pb::{v1alpha, v1}` submodules. (**NB: this is a
breaking change to the public `tonic-reflection` API.**)

* `tonic_reflection::server` is updated to use the generated
`tonic_reflection::pb::v1` code.

[v1.8.8]: https://github.com/fullstorydev/grpcurl/releases/tag/v1.8.8
[proto]: https://github.com/grpc/grpc/blob/master/src/proto/grpc/reflection/v1/reflection.proto
[grpcurl]: https://github.com/fullstorydev/grpcurl

---

fixes: #1685
x-ref: penumbra-zone/penumbra#4392

Co-authored-by: Conor Schaefer <[email protected]>

show more ...

068421a025-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]>


/tonic/.github/workflows/CI.yml
/tonic/CHANGELOG.md
/tonic/Cargo.toml
/tonic/README.md
/tonic/codegen/src/main.rs
/tonic/deny.toml
/tonic/examples/Cargo.toml
/tonic/examples/build.rs
/tonic/examples/helloworld-tutorial.md
/tonic/examples/routeguide-tutorial.md
/tonic/examples/src/codec_buffers/client.rs
/tonic/examples/src/codec_buffers/common.rs
/tonic/examples/src/codec_buffers/server.rs
/tonic/examples/src/dynamic/server.rs
/tonic/examples/src/h2c/server.rs
/tonic/examples/src/mock/mock.rs
/tonic/examples/src/richer-error/client.rs
/tonic/examples/src/richer-error/client_vec.rs
/tonic/examples/src/tls_rustls/client.rs
/tonic/interop/Cargo.toml
/tonic/interop/src/client.rs
/tonic/interop/src/server.rs
/tonic/tests/ambiguous_methods/Cargo.toml
/tonic/tests/compression/Cargo.toml
/tonic/tests/compression/src/bidirectional_stream.rs
/tonic/tests/compression/src/client_stream.rs
/tonic/tests/compression/src/compressing_request.rs
/tonic/tests/compression/src/compressing_response.rs
/tonic/tests/compression/src/server_stream.rs
/tonic/tests/compression/src/util.rs
/tonic/tests/default_stubs/Cargo.toml
/tonic/tests/disable_comments/Cargo.toml
/tonic/tests/extern_path/my_application/Cargo.toml
/tonic/tests/extern_path/uuid/Cargo.toml
/tonic/tests/included_service/Cargo.toml
/tonic/tests/integration_tests/Cargo.toml
/tonic/tests/integration_tests/src/lib.rs
/tonic/tests/integration_tests/tests/extensions.rs
/tonic/tests/integration_tests/tests/max_message_size.rs
/tonic/tests/integration_tests/tests/routes_builder.rs
/tonic/tests/integration_tests/tests/streams.rs
/tonic/tests/root-crate-path/Cargo.toml
/tonic/tests/same_name/Cargo.toml
/tonic/tests/service_named_result/Cargo.toml
/tonic/tests/service_named_service/Cargo.toml
/tonic/tests/stream_conflict/Cargo.toml
/tonic/tests/use_arc_self/Cargo.toml
/tonic/tests/wellknown-compiled/Cargo.toml
/tonic/tests/wellknown/Cargo.toml
/tonic/tonic-build/Cargo.toml
/tonic/tonic-build/README.md
/tonic/tonic-build/src/compile_settings.rs
/tonic/tonic-build/src/lib.rs
/tonic/tonic-build/src/prost.rs
/tonic/tonic-build/src/server.rs
/tonic/tonic-health/Cargo.toml
/tonic/tonic-health/src/generated/grpc_health_v1.rs
/tonic/tonic-health/src/lib.rs
/tonic/tonic-reflection/Cargo.toml
grpc_reflection_v1alpha.rs
/tonic/tonic-reflection/src/lib.rs
/tonic/tonic-reflection/tests/server.rs
/tonic/tonic-types/Cargo.toml
/tonic/tonic-types/src/generated/google_rpc.rs
/tonic/tonic-types/src/lib.rs
/tonic/tonic-types/src/richer_error/mod.rs
/tonic/tonic-web/Cargo.toml
/tonic/tonic-web/src/call.rs
/tonic/tonic-web/src/lib.rs
/tonic/tonic-web/tests/incomplete-buf-bug.bin
/tonic/tonic-web/tests/integration/Cargo.toml
/tonic/tonic-web/tests/integration/tests/grpc.rs
/tonic/tonic-web/tests/integration/tests/grpc_web.rs
/tonic/tonic/Cargo.toml
/tonic/tonic/src/client/grpc.rs
/tonic/tonic/src/codec/compression.rs
/tonic/tonic/src/codec/decode.rs
/tonic/tonic/src/codec/encode.rs
/tonic/tonic/src/codec/mod.rs
/tonic/tonic/src/codec/prost.rs
/tonic/tonic/src/extensions.rs
/tonic/tonic/src/lib.rs
/tonic/tonic/src/metadata/value.rs
/tonic/tonic/src/request.rs
/tonic/tonic/src/server/grpc.rs
/tonic/tonic/src/status.rs
/tonic/tonic/src/transport/channel/endpoint.rs
/tonic/tonic/src/transport/channel/tls.rs
/tonic/tonic/src/transport/mod.rs
/tonic/tonic/src/transport/server/incoming.rs
/tonic/tonic/src/transport/server/mod.rs
/tonic/tonic/src/transport/service/add_origin.rs
/tonic/tonic/src/transport/service/connector.rs
/tonic/tonic/src/transport/service/discover.rs
/tonic/tonic/src/transport/service/io.rs
/tonic/tonic/src/transport/service/mod.rs
/tonic/tonic/src/transport/service/tls.rs
/tonic/tonic/src/transport/tls.rs
333ea5af01-Sep-2023 tottoto <[email protected]>

chore: Update generated code (#1484)

7b2b0eea28-Aug-2023 tottoto <[email protected]>

chore: Add generated code to module tree (#1480)


/tonic/.github/workflows/CI.yml
/tonic/CONTRIBUTING.md
/tonic/Cargo.toml
/tonic/README.md
/tonic/codegen/Cargo.toml
/tonic/codegen/src/main.rs
/tonic/deny.toml
/tonic/examples/Cargo.toml
/tonic/examples/src/cancellation/client.rs
/tonic/examples/src/cancellation/server.rs
/tonic/examples/src/dynamic/server.rs
/tonic/examples/src/grpc-web/client.rs
/tonic/examples/src/h2c/client.rs
/tonic/examples/src/h2c/server.rs
/tonic/examples/src/tls/client.rs
/tonic/examples/src/tls_client_auth/client.rs
/tonic/interop/src/bin/client.rs
/tonic/tests/compression/Cargo.toml
/tonic/tests/compression/src/bidirectional_stream.rs
/tonic/tests/compression/src/client_stream.rs
/tonic/tests/compression/src/compressing_request.rs
/tonic/tests/compression/src/compressing_response.rs
/tonic/tests/compression/src/lib.rs
/tonic/tests/compression/src/server_stream.rs
/tonic/tests/compression/src/util.rs
/tonic/tests/default_stubs/Cargo.toml
/tonic/tests/default_stubs/build.rs
/tonic/tests/default_stubs/proto/test.proto
/tonic/tests/default_stubs/proto/test_default.proto
/tonic/tests/default_stubs/src/lib.rs
/tonic/tests/default_stubs/src/test_defaults.rs
/tonic/tests/integration_tests/Cargo.toml
/tonic/tests/integration_tests/src/lib.rs
/tonic/tests/integration_tests/tests/client_layer.rs
/tonic/tests/integration_tests/tests/connect_info.rs
/tonic/tests/integration_tests/tests/connection.rs
/tonic/tests/integration_tests/tests/extensions.rs
/tonic/tests/integration_tests/tests/interceptor.rs
/tonic/tests/integration_tests/tests/max_message_size.rs
/tonic/tests/integration_tests/tests/origin.rs
/tonic/tests/integration_tests/tests/routes_builder.rs
/tonic/tests/integration_tests/tests/status.rs
/tonic/tests/integration_tests/tests/streams.rs
/tonic/tests/integration_tests/tests/user_agent.rs
/tonic/tests/use_arc_self/Cargo.toml
/tonic/tests/use_arc_self/src/lib.rs
/tonic/tonic-build/Cargo.toml
/tonic/tonic-build/src/client.rs
/tonic/tonic-build/src/code_gen.rs
/tonic/tonic-build/src/prost.rs
/tonic/tonic-build/src/server.rs
/tonic/tonic-health/Cargo.toml
/tonic/tonic-health/src/generated/grpc_health_v1.rs
/tonic/tonic-health/src/lib.rs
/tonic/tonic-reflection/Cargo.toml
grpc_reflection_v1alpha.rs
/tonic/tonic-reflection/src/lib.rs
/tonic/tonic-reflection/tests/server.rs
/tonic/tonic-types/Cargo.toml
/tonic/tonic-types/src/generated/google_rpc.rs
/tonic/tonic-types/src/generated/types.bin
/tonic/tonic-types/src/lib.rs
/tonic/tonic-types/src/richer_error/mod.rs
/tonic/tonic-types/src/richer_error/std_messages/bad_request.rs
/tonic/tonic-types/src/richer_error/std_messages/debug_info.rs
/tonic/tonic-types/src/richer_error/std_messages/error_info.rs
/tonic/tonic-types/src/richer_error/std_messages/help.rs
/tonic/tonic-types/src/richer_error/std_messages/loc_message.rs
/tonic/tonic-types/src/richer_error/std_messages/prec_failure.rs
/tonic/tonic-types/src/richer_error/std_messages/quota_failure.rs
/tonic/tonic-types/src/richer_error/std_messages/request_info.rs
/tonic/tonic-types/src/richer_error/std_messages/resource_info.rs
/tonic/tonic-types/src/richer_error/std_messages/retry_info.rs
/tonic/tonic-web/src/call.rs
/tonic/tonic-web/src/client.rs
/tonic/tonic-web/src/lib.rs
/tonic/tonic/Cargo.toml
/tonic/tonic/src/codec/encode.rs
/tonic/tonic/src/codegen.rs
/tonic/tonic/src/metadata/value.rs
/tonic/tonic/src/server/grpc.rs
/tonic/tonic/src/service/interceptor.rs
/tonic/tonic/src/service/mod.rs
/tonic/tonic/src/transport/channel/endpoint.rs
/tonic/tonic/src/transport/channel/mod.rs
/tonic/tonic/src/transport/mod.rs
/tonic/tonic/src/transport/server/conn.rs
/tonic/tonic/src/transport/server/incoming.rs
/tonic/tonic/src/transport/server/mod.rs
/tonic/tonic/src/transport/service/add_origin.rs
/tonic/tonic/src/transport/service/connection.rs
/tonic/tonic/src/transport/service/connector.rs
/tonic/tonic/src/transport/service/executor.rs
/tonic/tonic/src/transport/service/mod.rs
/tonic/tonic/src/transport/service/router.rs
60d776b002-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

c9c4acbc22-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 ...


/tonic/.github/workflows/CI.yml
/tonic/examples/Cargo.toml
/tonic/examples/src/hyper_warp/server.rs
/tonic/examples/src/hyper_warp_multiplex/server.rs
/tonic/examples/src/mock/mock.rs
/tonic/examples/src/routeguide/client.rs
/tonic/examples/src/routeguide/server.rs
/tonic/examples/src/streaming/client.rs
/tonic/examples/src/streaming/server.rs
/tonic/examples/src/tower/server.rs
/tonic/interop/Cargo.toml
/tonic/interop/src/lib.rs
/tonic/tests/ambiguous_methods/Cargo.toml
/tonic/tests/compression/Cargo.toml
/tonic/tests/disable_comments/Cargo.toml
/tonic/tests/extern_path/my_application/Cargo.toml
/tonic/tests/extern_path/uuid/Cargo.toml
/tonic/tests/included_service/Cargo.toml
/tonic/tests/integration_tests/Cargo.toml
/tonic/tests/integration_tests/src/lib.rs
/tonic/tests/integration_tests/tests/status.rs
/tonic/tests/same_name/Cargo.toml
/tonic/tests/service_named_result/Cargo.toml
/tonic/tests/service_named_service/Cargo.toml
/tonic/tests/stream_conflict/Cargo.toml
/tonic/tests/wellknown-compiled/Cargo.toml
/tonic/tests/wellknown/Cargo.toml
/tonic/tonic-build/Cargo.toml
/tonic/tonic-build/src/server.rs
/tonic/tonic-health/Cargo.toml
/tonic/tonic-health/src/generated/grpc.health.v1.rs
/tonic/tonic-reflection/Cargo.toml
grpc.reflection.v1alpha.rs
/tonic/tonic-reflection/tests/server.rs
/tonic/tonic-web/Cargo.toml
/tonic/tonic-web/src/call.rs
/tonic/tonic-web/tests/integration/Cargo.toml
/tonic/tonic/Cargo.toml
/tonic/tonic/src/client/grpc.rs
/tonic/tonic/src/codec/decode.rs
/tonic/tonic/src/codec/encode.rs
/tonic/tonic/src/codec/prost.rs
/tonic/tonic/src/codegen.rs
/tonic/tonic/src/request.rs
/tonic/tonic/src/server/grpc.rs
/tonic/tonic/src/server/service.rs
/tonic/tonic/src/transport/channel/endpoint.rs
/tonic/tonic/src/transport/channel/mod.rs
/tonic/tonic/src/transport/server/incoming.rs
/tonic/tonic/src/transport/server/mod.rs
/tonic/tonic/src/transport/service/add_origin.rs
/tonic/tonic/src/transport/service/executor.rs
4942dd4a19-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 ...

ff33119930-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 ...


/tonic/deny.toml
/tonic/examples/Cargo.toml
/tonic/examples/README.md
/tonic/examples/helloworld-tutorial.md
/tonic/examples/src/grpc-web/server.rs
/tonic/examples/src/richer-error/client.rs
/tonic/examples/src/richer-error/client_vec.rs
/tonic/examples/src/richer-error/server.rs
/tonic/examples/src/richer-error/server_vec.rs
/tonic/examples/src/streaming/client.rs
/tonic/tests/compression/Cargo.toml
/tonic/tests/integration_tests/Cargo.toml
/tonic/tests/integration_tests/proto/test.proto
/tonic/tests/integration_tests/src/lib.rs
/tonic/tests/integration_tests/tests/max_message_size.rs
/tonic/tonic-build/src/client.rs
/tonic/tonic-build/src/prost.rs
/tonic/tonic-build/src/server.rs
/tonic/tonic-health/src/generated/grpc.health.v1.rs
grpc.reflection.v1alpha.rs
/tonic/tonic-types/Cargo.toml
/tonic/tonic-types/README.md
/tonic/tonic-types/src/lib.rs
/tonic/tonic-types/src/richer_error/error_details/mod.rs
/tonic/tonic-types/src/richer_error/error_details/vec.rs
/tonic/tonic-types/src/richer_error/mod.rs
/tonic/tonic-types/src/richer_error/std_messages/bad_request.rs
/tonic/tonic-types/src/richer_error/std_messages/debug_info.rs
/tonic/tonic-types/src/richer_error/std_messages/error_info.rs
/tonic/tonic-types/src/richer_error/std_messages/help.rs
/tonic/tonic-types/src/richer_error/std_messages/loc_message.rs
/tonic/tonic-types/src/richer_error/std_messages/mod.rs
/tonic/tonic-types/src/richer_error/std_messages/prec_failure.rs
/tonic/tonic-types/src/richer_error/std_messages/quota_failure.rs
/tonic/tonic-types/src/richer_error/std_messages/request_info.rs
/tonic/tonic-types/src/richer_error/std_messages/resource_info.rs
/tonic/tonic-types/src/richer_error/std_messages/retry_info.rs
/tonic/tonic-web/Cargo.toml
/tonic/tonic-web/src/lib.rs
/tonic/tonic/Cargo.toml
/tonic/tonic/src/codec/decode.rs
/tonic/tonic/src/codec/encode.rs
/tonic/tonic/src/codec/mod.rs
/tonic/tonic/src/extensions.rs
/tonic/tonic/src/lib.rs
/tonic/tonic/src/status.rs
7a6b20d823-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 ...

12