├── .github ├── dependabot.yml └── workflows │ ├── main.yml │ └── pr_review.yml ├── .gitignore ├── CONTRIBUTING.md ├── Cargo.toml ├── LICENSE ├── README.md ├── RELEASES.md ├── example-service ├── Cargo.toml ├── README.md └── src │ ├── client.rs │ ├── lib.rs │ └── server.rs ├── hooks ├── pre-commit └── pre-push ├── plugins ├── Cargo.toml ├── LICENSE ├── rustfmt.toml ├── src │ └── lib.rs └── tests │ ├── server.rs │ └── service.rs └── tarpc ├── Cargo.toml ├── LICENSE ├── README.md ├── clippy.toml ├── examples ├── certs │ └── eddsa │ │ ├── client.cert │ │ ├── client.chain │ │ ├── client.key │ │ ├── end.cert │ │ ├── end.chain │ │ └── end.key ├── compression.rs ├── custom_transport.rs ├── pubsub.rs ├── readme.rs ├── tls_over_tcp.rs └── tracing.rs ├── rustfmt.toml ├── src ├── cancellations.rs ├── client.rs ├── client │ ├── in_flight_requests.rs │ ├── stub.rs │ └── stub │ │ ├── load_balance.rs │ │ ├── mock.rs │ │ └── retry.rs ├── context.rs ├── lib.rs ├── serde_transport.rs ├── server.rs ├── server │ ├── in_flight_requests.rs │ ├── incoming.rs │ ├── limits.rs │ ├── limits │ │ ├── channels_per_key.rs │ │ └── requests_per_channel.rs │ ├── request_hook.rs │ ├── request_hook │ │ ├── after.rs │ │ ├── before.rs │ │ └── before_and_after.rs │ └── testing.rs ├── trace.rs ├── transport.rs ├── transport │ └── channel.rs ├── util.rs └── util │ └── serde.rs └── tests ├── compile_fail.rs ├── compile_fail ├── must_use_request_dispatch.rs ├── must_use_request_dispatch.stderr ├── no_serde1 │ ├── no_explicit_serde_without_feature.rs │ ├── no_explicit_serde_without_feature.stderr │ ├── no_implicit_serde_without_feature.rs │ └── no_implicit_serde_without_feature.stderr ├── serde1 │ ├── deprecated.rs │ ├── deprecated.stderr │ ├── incompatible.rs │ ├── incompatible.stderr │ ├── opt_out_serde.rs │ └── opt_out_serde.stderr ├── serde_transport │ ├── must_use_tcp_connect.rs │ └── must_use_tcp_connect.stderr ├── tarpc_service_arg_pat.rs ├── tarpc_service_arg_pat.stderr ├── tarpc_service_derive_serde.rs ├── tarpc_service_derive_serde.stderr ├── tarpc_service_fn_new.rs ├── tarpc_service_fn_new.stderr ├── tarpc_service_fn_serve.rs └── tarpc_service_fn_serve.stderr ├── dataservice.rs ├── proc_macro_hygene.rs └── service_functional.rs /.github/dependabot.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/tarpc/HEAD/.github/dependabot.yml -------------------------------------------------------------------------------- /.github/workflows/main.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/tarpc/HEAD/.github/workflows/main.yml -------------------------------------------------------------------------------- /.github/workflows/pr_review.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/tarpc/HEAD/.github/workflows/pr_review.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/tarpc/HEAD/.gitignore -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/tarpc/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/tarpc/HEAD/Cargo.toml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/tarpc/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/tarpc/HEAD/README.md -------------------------------------------------------------------------------- /RELEASES.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/tarpc/HEAD/RELEASES.md -------------------------------------------------------------------------------- /example-service/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/tarpc/HEAD/example-service/Cargo.toml -------------------------------------------------------------------------------- /example-service/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/tarpc/HEAD/example-service/README.md -------------------------------------------------------------------------------- /example-service/src/client.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/tarpc/HEAD/example-service/src/client.rs -------------------------------------------------------------------------------- /example-service/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/tarpc/HEAD/example-service/src/lib.rs -------------------------------------------------------------------------------- /example-service/src/server.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/tarpc/HEAD/example-service/src/server.rs -------------------------------------------------------------------------------- /hooks/pre-commit: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/tarpc/HEAD/hooks/pre-commit -------------------------------------------------------------------------------- /hooks/pre-push: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/tarpc/HEAD/hooks/pre-push -------------------------------------------------------------------------------- /plugins/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/tarpc/HEAD/plugins/Cargo.toml -------------------------------------------------------------------------------- /plugins/LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/tarpc/HEAD/plugins/LICENSE -------------------------------------------------------------------------------- /plugins/rustfmt.toml: -------------------------------------------------------------------------------- 1 | edition = "2024" 2 | -------------------------------------------------------------------------------- /plugins/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/tarpc/HEAD/plugins/src/lib.rs -------------------------------------------------------------------------------- /plugins/tests/server.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/tarpc/HEAD/plugins/tests/server.rs -------------------------------------------------------------------------------- /plugins/tests/service.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/tarpc/HEAD/plugins/tests/service.rs -------------------------------------------------------------------------------- /tarpc/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/tarpc/HEAD/tarpc/Cargo.toml -------------------------------------------------------------------------------- /tarpc/LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/tarpc/HEAD/tarpc/LICENSE -------------------------------------------------------------------------------- /tarpc/README.md: -------------------------------------------------------------------------------- 1 | ../README.md -------------------------------------------------------------------------------- /tarpc/clippy.toml: -------------------------------------------------------------------------------- 1 | doc-valid-idents = ["gRPC"] 2 | -------------------------------------------------------------------------------- /tarpc/examples/certs/eddsa/client.cert: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/tarpc/HEAD/tarpc/examples/certs/eddsa/client.cert -------------------------------------------------------------------------------- /tarpc/examples/certs/eddsa/client.chain: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/tarpc/HEAD/tarpc/examples/certs/eddsa/client.chain -------------------------------------------------------------------------------- /tarpc/examples/certs/eddsa/client.key: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/tarpc/HEAD/tarpc/examples/certs/eddsa/client.key -------------------------------------------------------------------------------- /tarpc/examples/certs/eddsa/end.cert: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/tarpc/HEAD/tarpc/examples/certs/eddsa/end.cert -------------------------------------------------------------------------------- /tarpc/examples/certs/eddsa/end.chain: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/tarpc/HEAD/tarpc/examples/certs/eddsa/end.chain -------------------------------------------------------------------------------- /tarpc/examples/certs/eddsa/end.key: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/tarpc/HEAD/tarpc/examples/certs/eddsa/end.key -------------------------------------------------------------------------------- /tarpc/examples/compression.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/tarpc/HEAD/tarpc/examples/compression.rs -------------------------------------------------------------------------------- /tarpc/examples/custom_transport.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/tarpc/HEAD/tarpc/examples/custom_transport.rs -------------------------------------------------------------------------------- /tarpc/examples/pubsub.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/tarpc/HEAD/tarpc/examples/pubsub.rs -------------------------------------------------------------------------------- /tarpc/examples/readme.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/tarpc/HEAD/tarpc/examples/readme.rs -------------------------------------------------------------------------------- /tarpc/examples/tls_over_tcp.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/tarpc/HEAD/tarpc/examples/tls_over_tcp.rs -------------------------------------------------------------------------------- /tarpc/examples/tracing.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/tarpc/HEAD/tarpc/examples/tracing.rs -------------------------------------------------------------------------------- /tarpc/rustfmt.toml: -------------------------------------------------------------------------------- 1 | edition = "2024" 2 | -------------------------------------------------------------------------------- /tarpc/src/cancellations.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/tarpc/HEAD/tarpc/src/cancellations.rs -------------------------------------------------------------------------------- /tarpc/src/client.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/tarpc/HEAD/tarpc/src/client.rs -------------------------------------------------------------------------------- /tarpc/src/client/in_flight_requests.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/tarpc/HEAD/tarpc/src/client/in_flight_requests.rs -------------------------------------------------------------------------------- /tarpc/src/client/stub.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/tarpc/HEAD/tarpc/src/client/stub.rs -------------------------------------------------------------------------------- /tarpc/src/client/stub/load_balance.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/tarpc/HEAD/tarpc/src/client/stub/load_balance.rs -------------------------------------------------------------------------------- /tarpc/src/client/stub/mock.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/tarpc/HEAD/tarpc/src/client/stub/mock.rs -------------------------------------------------------------------------------- /tarpc/src/client/stub/retry.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/tarpc/HEAD/tarpc/src/client/stub/retry.rs -------------------------------------------------------------------------------- /tarpc/src/context.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/tarpc/HEAD/tarpc/src/context.rs -------------------------------------------------------------------------------- /tarpc/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/tarpc/HEAD/tarpc/src/lib.rs -------------------------------------------------------------------------------- /tarpc/src/serde_transport.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/tarpc/HEAD/tarpc/src/serde_transport.rs -------------------------------------------------------------------------------- /tarpc/src/server.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/tarpc/HEAD/tarpc/src/server.rs -------------------------------------------------------------------------------- /tarpc/src/server/in_flight_requests.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/tarpc/HEAD/tarpc/src/server/in_flight_requests.rs -------------------------------------------------------------------------------- /tarpc/src/server/incoming.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/tarpc/HEAD/tarpc/src/server/incoming.rs -------------------------------------------------------------------------------- /tarpc/src/server/limits.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/tarpc/HEAD/tarpc/src/server/limits.rs -------------------------------------------------------------------------------- /tarpc/src/server/limits/channels_per_key.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/tarpc/HEAD/tarpc/src/server/limits/channels_per_key.rs -------------------------------------------------------------------------------- /tarpc/src/server/limits/requests_per_channel.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/tarpc/HEAD/tarpc/src/server/limits/requests_per_channel.rs -------------------------------------------------------------------------------- /tarpc/src/server/request_hook.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/tarpc/HEAD/tarpc/src/server/request_hook.rs -------------------------------------------------------------------------------- /tarpc/src/server/request_hook/after.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/tarpc/HEAD/tarpc/src/server/request_hook/after.rs -------------------------------------------------------------------------------- /tarpc/src/server/request_hook/before.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/tarpc/HEAD/tarpc/src/server/request_hook/before.rs -------------------------------------------------------------------------------- /tarpc/src/server/request_hook/before_and_after.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/tarpc/HEAD/tarpc/src/server/request_hook/before_and_after.rs -------------------------------------------------------------------------------- /tarpc/src/server/testing.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/tarpc/HEAD/tarpc/src/server/testing.rs -------------------------------------------------------------------------------- /tarpc/src/trace.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/tarpc/HEAD/tarpc/src/trace.rs -------------------------------------------------------------------------------- /tarpc/src/transport.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/tarpc/HEAD/tarpc/src/transport.rs -------------------------------------------------------------------------------- /tarpc/src/transport/channel.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/tarpc/HEAD/tarpc/src/transport/channel.rs -------------------------------------------------------------------------------- /tarpc/src/util.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/tarpc/HEAD/tarpc/src/util.rs -------------------------------------------------------------------------------- /tarpc/src/util/serde.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/tarpc/HEAD/tarpc/src/util/serde.rs -------------------------------------------------------------------------------- /tarpc/tests/compile_fail.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/tarpc/HEAD/tarpc/tests/compile_fail.rs -------------------------------------------------------------------------------- /tarpc/tests/compile_fail/must_use_request_dispatch.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/tarpc/HEAD/tarpc/tests/compile_fail/must_use_request_dispatch.rs -------------------------------------------------------------------------------- /tarpc/tests/compile_fail/must_use_request_dispatch.stderr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/tarpc/HEAD/tarpc/tests/compile_fail/must_use_request_dispatch.stderr -------------------------------------------------------------------------------- /tarpc/tests/compile_fail/no_serde1/no_explicit_serde_without_feature.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/tarpc/HEAD/tarpc/tests/compile_fail/no_serde1/no_explicit_serde_without_feature.rs -------------------------------------------------------------------------------- /tarpc/tests/compile_fail/no_serde1/no_explicit_serde_without_feature.stderr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/tarpc/HEAD/tarpc/tests/compile_fail/no_serde1/no_explicit_serde_without_feature.stderr -------------------------------------------------------------------------------- /tarpc/tests/compile_fail/no_serde1/no_implicit_serde_without_feature.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/tarpc/HEAD/tarpc/tests/compile_fail/no_serde1/no_implicit_serde_without_feature.rs -------------------------------------------------------------------------------- /tarpc/tests/compile_fail/no_serde1/no_implicit_serde_without_feature.stderr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/tarpc/HEAD/tarpc/tests/compile_fail/no_serde1/no_implicit_serde_without_feature.stderr -------------------------------------------------------------------------------- /tarpc/tests/compile_fail/serde1/deprecated.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/tarpc/HEAD/tarpc/tests/compile_fail/serde1/deprecated.rs -------------------------------------------------------------------------------- /tarpc/tests/compile_fail/serde1/deprecated.stderr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/tarpc/HEAD/tarpc/tests/compile_fail/serde1/deprecated.stderr -------------------------------------------------------------------------------- /tarpc/tests/compile_fail/serde1/incompatible.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/tarpc/HEAD/tarpc/tests/compile_fail/serde1/incompatible.rs -------------------------------------------------------------------------------- /tarpc/tests/compile_fail/serde1/incompatible.stderr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/tarpc/HEAD/tarpc/tests/compile_fail/serde1/incompatible.stderr -------------------------------------------------------------------------------- /tarpc/tests/compile_fail/serde1/opt_out_serde.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/tarpc/HEAD/tarpc/tests/compile_fail/serde1/opt_out_serde.rs -------------------------------------------------------------------------------- /tarpc/tests/compile_fail/serde1/opt_out_serde.stderr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/tarpc/HEAD/tarpc/tests/compile_fail/serde1/opt_out_serde.stderr -------------------------------------------------------------------------------- /tarpc/tests/compile_fail/serde_transport/must_use_tcp_connect.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/tarpc/HEAD/tarpc/tests/compile_fail/serde_transport/must_use_tcp_connect.rs -------------------------------------------------------------------------------- /tarpc/tests/compile_fail/serde_transport/must_use_tcp_connect.stderr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/tarpc/HEAD/tarpc/tests/compile_fail/serde_transport/must_use_tcp_connect.stderr -------------------------------------------------------------------------------- /tarpc/tests/compile_fail/tarpc_service_arg_pat.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/tarpc/HEAD/tarpc/tests/compile_fail/tarpc_service_arg_pat.rs -------------------------------------------------------------------------------- /tarpc/tests/compile_fail/tarpc_service_arg_pat.stderr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/tarpc/HEAD/tarpc/tests/compile_fail/tarpc_service_arg_pat.stderr -------------------------------------------------------------------------------- /tarpc/tests/compile_fail/tarpc_service_derive_serde.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/tarpc/HEAD/tarpc/tests/compile_fail/tarpc_service_derive_serde.rs -------------------------------------------------------------------------------- /tarpc/tests/compile_fail/tarpc_service_derive_serde.stderr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/tarpc/HEAD/tarpc/tests/compile_fail/tarpc_service_derive_serde.stderr -------------------------------------------------------------------------------- /tarpc/tests/compile_fail/tarpc_service_fn_new.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/tarpc/HEAD/tarpc/tests/compile_fail/tarpc_service_fn_new.rs -------------------------------------------------------------------------------- /tarpc/tests/compile_fail/tarpc_service_fn_new.stderr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/tarpc/HEAD/tarpc/tests/compile_fail/tarpc_service_fn_new.stderr -------------------------------------------------------------------------------- /tarpc/tests/compile_fail/tarpc_service_fn_serve.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/tarpc/HEAD/tarpc/tests/compile_fail/tarpc_service_fn_serve.rs -------------------------------------------------------------------------------- /tarpc/tests/compile_fail/tarpc_service_fn_serve.stderr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/tarpc/HEAD/tarpc/tests/compile_fail/tarpc_service_fn_serve.stderr -------------------------------------------------------------------------------- /tarpc/tests/dataservice.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/tarpc/HEAD/tarpc/tests/dataservice.rs -------------------------------------------------------------------------------- /tarpc/tests/proc_macro_hygene.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/tarpc/HEAD/tarpc/tests/proc_macro_hygene.rs -------------------------------------------------------------------------------- /tarpc/tests/service_functional.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google/tarpc/HEAD/tarpc/tests/service_functional.rs --------------------------------------------------------------------------------