Brandon Williams and Lucio Franco
f096a238ac
chore(examples): add helloworld-client-blocking ( #179 )
...
Add an example of using a tonic client in a synchronous environment.
2019-12-12 09:48:27 -05:00
Lucio Franco and GitHub
f46a45401d
feat(transport): Add tracing support to server ( #175 )
...
* feat(transport): Add tracing to server
* Add tracing example
* Fix duplicate versions of tracing-subscriber
2019-12-11 19:45:11 -05:00
Adam Harvey and Lucio Franco
48a69bb36b
chore(examples): enable the macros feature for tokio::main ( #166 )
...
tokio 0.2 split out its macros into a feature that is disabled by
default, so we'll re-enable it to allow example builds to work once
more.
2019-12-06 19:51:59 -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
Lucio Franco and GitHub
3387ef900f
Upgrade to tokio 0.2 ( #163 )
2019-12-06 00:09:46 -05:00
James Nugent and Lucio Franco
85060500f3
fix(transport): Remove support for OpenSSL ( #141 )
...
BREAKING CHANGE: Remove support for OpenSSL within the transport.
2019-11-15 13:30:42 +01:00
Jake Shadle and James Nugent
fbd91c3773
chore(build): Add cargo-deny CI workflow and configuration
2019-11-14 18:59:04 +02:00
James Nugent and Lucio Franco
79996f7c93
Allow selection of TLS library in Interop tests ( #129 )
2019-11-10 17:28:03 +01:00
Lucio Franco and GitHub
5b4f4689a2
feat(transport): Add service multiplexing/routing ( #99 )
...
* feat(transport): Add service multiplexing/routing
This change introduces a new "router" built on top of
`transport::Server` that allows one to run multiple
gRPC services on the same socket.
```rust
Server::builder()
.add_service(greeter)
.add_service(echo)
.serve(addr)
.await?;
```
There is also a new `multiplex` example showcasing
server side service multiplexing and client side
service multiplexing.
BREAKING CHANGES: `Server::serve` is now crate private
and all services must be added via `Server::add_service`.
Codegen also returns just a `Service` now instead of a
`MakeService` pair.
Closes #29
Signed-off-by: Lucio Franco [email protected]
2019-10-29 16:32:04 -04:00
Lucio Franco and GitHub
a17049f1f7
fix(codec): Remove custom content-type ( #104 )
...
This removes custom content-types in favor of
just using `application/grpc`. There is some
confusion around the specification but most
grpc implementations ignore the `+` and
anything after.
2019-10-29 16:12:41 -04:00
James Nugent and Lucio Franco
335a373a40
feat(transport): Add support client mTLS ( #77 )
...
This commit adds a simple API for specifying the TLS certificate a GRPC
client will present (via the same `Identity` wrapper as a server cert is
configured). It also adds an API to specify which CA certificate client
TLS certificates will be validated against for servers.
2019-10-22 17:00:08 -04:00
Juan Alvarez and Lucio Franco
5d0a795554
feat(docs): Add routeguide tutorial ( #21 )
2019-10-18 18:02:48 -04:00
Lucio Franco and GitHub
8f80d0f6d1
chore(docs): Update tonic-build docs ( #22 )
2019-10-01 19:34:45 -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
Simon Chemouil and Lucio Franco
02d14da3d6
Fix serde version in examples ( #17 )
2019-10-01 10:00:29 -04:00
Lucio Franco
9af614e5f7
fix examples
2019-09-30 19:36:18 -04:00
Lucio Franco
a8ef9d6c42
Add tls example with rustls
2019-09-29 19:45:05 -04:00
Lucio Franco
2c2b7d7904
Add auth and lb example
2019-09-29 18:33:28 -04:00
Lucio Franco
fe1e040975
Update deps and tower releases
2019-09-11 22:35:47 -04:00
Lucio Franco
0c682536b8
disable rustfmt for all
2019-09-06 18:29:17 -04:00
Lucio Franco
cc8a7bfcbf
make rustfmt optional
2019-09-06 18:25:27 -04:00
Lucio Franco
d0cfafafc6
Move codegen to build and remove macros
2019-09-06 15:19:18 -04:00
Lucio Franco
295e7321b9
Add first step of async-trait
2019-09-06 01:30:51 -04:00
Lucio Franco
77a6c89ae9
Add server docs
2019-09-04 16:38:46 -04:00
Lucio Franco
4861354d46
remove extra path deps
2019-09-01 12:53:12 -04:00
Lucio Franco
0393172f95
Update hyper and other fixes
2019-08-30 23:30:12 -04:00
Lucio Franco
f750dfa111
Fix interoptests and rewrite decode
2019-08-28 17:24:53 -04:00
Lucio Franco
2ebad2d778
Add client, client codegen, helloworld and routeguide client examples
2019-08-17 23:31:32 -04:00
Lucio Franco
3951bcf7fe
Somewhat working routeguide
2019-08-16 17:17:22 -04:00
Lucio Franco
1630547f97
Inital pass at route guide
2019-08-16 14:46:18 -04:00
Lucio Franco
5e208d9da2
First pass at macro
2019-08-15 17:50:25 -04:00
Lucio Franco
0a8aaa8071
Clean up main crate and more work on macro
...
Signed-off-by: Lucio Franco <[email protected] >
2019-08-15 15:09:54 -04:00