Juan Alvarez and GitHub
4e0d2fc598
chore(tonic-web): add crate metadata and README ( #675 )
2021-06-04 16:26:15 -05:00
Juan Alvarez and GitHub
8084f4ea26
chore(tonic-web): include crate in top-level workspace ( #648 )
...
This PR adds the tonic-web crate to tonic's workspace members.
Unit and integration tests should now run as part of CI runs.
2021-06-03 11:48:53 -05:00
c309063254
feat(tonic-web): implement grpc <-> grpc-web protocol translation ( #455 )
...
tonic-web enables tonic servers to handle requests from grpc-web
clients directly, without the need of an external proxy.
Co-authored-by: John Hernandez <[email protected] >
Co-authored-by: zancas <[email protected] >
2021-05-13 12:20:33 -05:00
Juan Alvarez and GitHub
b04c1c6582
configure tls automatically when possible ( #445 )
2021-04-23 10:42:01 -04:00
Juan Alvarez and GitHub
f1275b611e
chore: fix warnings in metadata module ( #468 )
2020-10-08 09:00:10 -05:00
Juan Alvarez and GitHub
0c69c378fd
chore: clippy lints ( #467 )
...
* chore: clippy lints
2020-09-29 14:38:49 -05:00
Juan Alvarez and GitHub
d4899df832
feat(transport): add user-agent header to client requests. ( #457 )
...
* Add a default user-agent header to outgoing requests.
* The user agent can be configured through the `Channel` builder.
fixes #453
2020-09-23 18:58:03 -05:00
Juan Alvarez and GitHub
e9910d10a7
fix(transport): reconnect lazy connections after first failure ( #458 )
...
* fix(transport): reconnect lazy connections after first failure
Channels created with lazy connections never try to reconnect if the
first connection attempt fails. This is because `Reconnect` returns
`Poll::Ready(Err)` on poll_ready and the service is considered dead.
This change passes a flag to Reconnect to signal if the connection
is intended to be lazy, in which case reconnect returns the error on
the next call.
fixes #452
2020-09-23 09:35:42 -05:00
Juan Alvarez and GitHub
cea990b1ea
run go client -> rust server interop tests ( #446 )
2020-09-22 16:24:26 -05:00
Juan Alvarez and GitHub
48d5248925
chore: Update interop go binaries ( #440 )
2020-08-31 10:23:50 -05:00
Juan Alvarez and GitHub
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
Juan Alvarez and GitHub
26ce9d12bf
fix(transport) Do not panic when building and Endpoint with an invali… ( #438 )
...
BREAKING CHANGE: `TryFrom` API has been changed.
2020-08-31 10:02:40 -04:00
Juan Alvarez and GitHub
40e64b53a7
chore: skip duplicate wasi crate from cargo deny check ( #439 )
2020-08-29 11:41:38 -05:00
Juan Alvarez and GitHub
e2c2be2f08
fix(build): Remove debug println! ( #287 )
2020-03-27 10:58:10 -04:00
Juan Alvarez and Lucio Franco
6ee2ed9b4f
chore: rename ServiceName -> NamedService ( #233 )
...
BREAKING CHANGE: Rename `ServiceName` to `NamedService`.
2020-01-13 21:41:24 -05:00
Juan Alvarez and Lucio Franco
0fa2bf1cea
feat(codec): Introduce Decoder/Encoder traits ( #208 )
...
BREAKING CHANGE: Add new `Decoder/Encoder` traits and use `EncodeBuf/DecodeBuf` over `BytesMut` directly.
2020-01-13 11:59:19 -05:00
Juan Alvarez and Lucio Franco
a41f55ab9d
fix(build): Remove default impl for Server traits ( #229 )
...
BREAKING CHANGE: remove default implementations for server traits.
2020-01-13 09:42:14 -05:00
Juan Alvarez and Lucio Franco
faa26ac152
chore(example) Fix routeguide errors ( #218 )
...
* chore(example) Fix routeguide errors
* remove redundant line
2020-01-07 16:53:30 -05:00
Juan Alvarez and Lucio Franco
49ce265954
chore: Add decode benchmarks ( #207 )
...
* disable current benchmarks
* temporarily expose Streaming constructor
* hide Streaming constructor from docs
* remove crossbeam-queue from deny skip list
* add decode benches
* fmt
* use Bytes as MockDecoder Item
2019-12-22 16:51:34 -05:00
Juan Alvarez and Lucio Franco
4e5c6c8f23
chore(example): update guides to 0.1-beta.1 ( #198 )
...
* update routeguide
* update helloworld
* depend on tonic beta.1
* Apply suggestions from code review
Co-Authored-By: Lucio Franco <[email protected] >
Co-authored-by: Lucio Franco <[email protected] >
2019-12-19 18:23:25 -05:00
Juan Alvarez and Lucio Franco
3a5c66d5f2
fix(build): snake_case service names ( #190 )
2019-12-14 15:08:28 -05:00
Juan Alvarez and Lucio Franco
0eb9991b9f
feat: expose tcp_nodelay for clients and servers ( #145 )
...
* expose tcp_nodelay
* do not depend on difference versions of rand
2019-12-06 17:07:24 -05:00
Juan Alvarez and Lucio Franco
6b43f63578
remove tower cargo patches ( #164 )
2019-12-06 12:23:37 -05:00
Juan Alvarez and James Nugent
354d4fdc35
fix(examples): Remove use of VecDeque as a placeholder type ( #143 )
2019-11-19 13:29:33 +00:00
Juan Alvarez and Lucio Franco
f9502dfd7e
fix: Sanitize custom metadata ( #138 )
2019-11-15 13:44:19 +01:00
Juan Alvarez and Lucio Franco
997241c43f
feat: Add Status constructors ( #137 )
...
Co-Authored-By: Lucio Franco <[email protected] >
2019-11-15 13:32:34 +01:00
Juan Alvarez and Lucio Franco
85ef18f8b7
fix(transport): Update builders to move self ( #132 )
2019-11-11 15:27:40 +01:00
Juan Alvarez and Lucio Franco
3809f18dc6
update to stable toolchain ( #122 )
...
* update to stable toolchain
* remove toolchan note from routeguide
2019-11-09 09:54:18 +00:00
Juan Alvarez and Lucio Franco
46bb2bf2a4
fix error in routeguide tutorial ( #111 )
2019-11-01 19:46:08 -04:00
Juan Alvarez and Lucio Franco
4bb087b5ff
feat: Add IntoRequest and IntoStreamingRequest traits ( #66 )
2019-10-29 16:09:08 -04:00
Juan Alvarez and Lucio Franco
5d0a795554
feat(docs): Add routeguide tutorial ( #21 )
2019-10-18 18:02:48 -04:00
Juan Alvarez and Lucio Franco
7eda823c9c
fix(client): Use Stream instead of TrySteam for client calls ( #61 )
2019-10-10 11:39:35 -04:00
Juan Alvarez and Lucio Franco
56e89385b3
Clippy ( #20 )
...
* pin all alpha dependencies
* fix some clippy warnings
2019-10-01 15:55:58 -04:00
Juan Alvarez and Lucio Franco
cd0b8424b9
pin all alpha dependencies ( #19 )
2019-10-01 15:54:32 -04:00
Juan Alvarez and Lucio Franco
d275785c55
Update dependencies ( #18 )
...
* update dependencies
* tonic-examples: Lock -> Mutex
2019-10-01 15:04:07 -04:00
Juan Alvarez and Lucio Franco
25e4dcc5d9
small tweaks, typos ( #8 )
2019-09-25 10:34:43 -04:00