Commit Graph

22 Commits

Author SHA1 Message Date
tottoto 44ccf49d8e chore(interop): Remove unnecessary asyncronous file io to read data (#1336) 2023-03-31 16:21:53 +00:00
tottoto 2e3e9acf7b chore(interop): Use pico-args instead of clap (#1242) 2023-02-07 09:45:32 -05:00
tottoto 2dd09c02bd chore: Fix clippy lint (#1181) 2022-12-13 11:29:29 -05:00
tottoto b65b52baf0 chore(interop): Update clap to 4.0.26 (#1162) 2022-11-28 10:39:34 -05:00
Marcus Griep d9f5c75112 chore: update clap dependency, fix deprecations (#1016) 2022-06-13 16:34:27 -04:00
Adam Chalmers edc5a0d88d feat: Add TryFrom implementations for MetadataValue (#990)
Co-authored-by: Adam Chalmers <adamschalmers@gmail.com>
2022-05-02 13:38:42 -04:00
tottoto c0970521f9 chore(interop): Use clap rename_all option instead of lint allowing (#957) 2022-04-01 11:25:09 -04:00
Lucio Franco 0f7344a75f chore(interop): Fix deprecated clap arg (#914) 2022-02-17 16:47:41 -05:00
tottoto a542bf4dc0 chore(interop): Change structopt to clap (#882) 2022-02-15 11:07:08 -05:00
Lucio Franco 23c1392fb7 fix(tonic): Remove Sync requirement for streams (#804) 2021-10-24 21:48:05 -04:00
Quentin Perez fdda5ae26a Upgrade to Tokio 1.0.0 ecosystem (#530)
* Upgrade Tonic to Tokio 1.0

Work in progress for updating Tonic to Tokio 1.0. Since tower has not
been released to crates.io, a git dependency is taken instead.

* Upgrade Tonic to Tokio 1.0 phase 2

* tonic: remove tower-* deps

* Apply suggestions from code review

Co-authored-by: Ed Marshall <marshaled@protonmail.com>
Co-authored-by: Lucio Franco <luciofranco14@gmail.com>
2021-01-11 12:18:34 -05:00
Juan Alvarez 0c69c378fd chore: clippy lints (#467)
* chore: clippy lints
2020-09-29 14:38:49 -05:00
Juan Alvarez ca8e597e95 fix(interop) fix failing interop test with go client (#442)
* fix failing interop test

* do not run go client when --use_tls is set
2020-08-31 10:23:12 -05:00
Johan Andersson 3b9d6a6262 fix(transport): Propagate errors in tls_config instead of unwrap/panic (#385)
* Propagate errors in tls_config instead of unwrap

Ran into `tls_connector` failing and causing our app to panic and shutdown as it seems there wasn't any way to avoid panicking in `tls_config`.

So after talking to @LucioFranco briefly `tls_config` now returns a `Result` instead and propagates errors to the caller, where they can be handled.

* Fix compile warning when tls feature is disabled
2020-07-06 09:18:10 -04:00
Lucio Franco 3cba9f5f6f chore: Fix feature flags and build docs (#311)
Signed-off-by: Lucio Franco <luciofranco14@gmail.com>
2020-03-30 12:02:10 -04:00
Juan Alvarez 6ee2ed9b4f chore: rename ServiceName -> NamedService (#233)
BREAKING CHANGE: Rename `ServiceName` to `NamedService`.
2020-01-13 21:41:24 -05:00
Lucio Franco eba7ec7b32 feat: Add gRPC interceptors (#232)
This change introduces proper gRPC interceptors that are avilable
regardless of the transport used. Each codegen service now produces an
additional method called `with_interceptor` that accepts a
`Interceptor`.

All examples have been updated to use this new style and interop has a
custom `tower::Service` middleware to echo the headers. There is also a
new `interceptor` example that shows basic usage.

BREAKING CHANGE: removed `interceptor_fn` and `intercep_headers_fn` from `transport` in favor of using `tonic::Interceptor`.
2020-01-13 21:26:08 -05:00
Lucio Franco 6673f91f1f chore: Remove required bytes dep and clean up deny (#227)
* chore: Remove required bytes dep and clean up deny

* Fix interop test cli args
2020-01-11 12:48:24 -08:00
Juan Alvarez 3a5c66d5f2 fix(build): snake_case service names (#190) 2019-12-14 15:08:28 -05:00
Lucio Franco 82facb6283 chore: Apply clippy (#189) 2019-12-13 23:55:49 -05:00
Lucio Franco 502491a590 fix(transport): Remove with_rustls for tls config (#188) 2019-12-13 20:31:22 -05:00
Lucio Franco d9a481baef chore: Reorganize examples and interop crates (#180)
* chore: Reorganize examples and interop crates

* fix interop tests
2019-12-12 11:53:15 -05:00