Commit Graph
37 Commits
Author SHA1 Message Date
Matt ConwayandLucio Franco 8ebedcde2f chore(docs): Add helloworld tutorial (#80) 2019-10-22 19:03:39 -04:00
James NugentandLucio 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 AlvarezandLucio Franco 5d0a795554 feat(docs): Add routeguide tutorial (#21) 2019-10-18 18:02:48 -04:00
Juan AlvarezandLucio Franco 7eda823c9c fix(client): Use Stream instead of TrySteam for client calls (#61) 2019-10-10 11:39:35 -04:00
James NugentandLucio Franco 8db3961491 feat(transport): Expose more granular control of TLS configuration (#48)
This commit reworks TLS configuration of both servers and endpoints in
order to provide a more flexible API. We now add options to configure
the selected TLS library using the appropriate 'native' configuration
structures, as well as retaining the existing simplier interface which
is compatible with both.

The new API can also be easily extended to support simple interfaces for
configuring mTLS and a range of other options without creating sprawl
in the builders for `Server` and `Endpoint`.
2019-10-08 11:49:05 -04:00
Lucio FrancoandGitHub 40973238d6 Add CI workflow (#23)
* Add CI workflow

* Delete interop.yml

* Delete test.yml

* deny warnings

* Fix unused mut
2019-10-01 19:26:17 -04:00
Juan AlvarezandLucio Franco d275785c55 Update dependencies (#18)
* update dependencies

* tonic-examples: Lock -> Mutex
2019-10-01 15:04:07 -04:00
John DonethandLucio Franco 3edaa424d9 Include proto macros (#13) 2019-09-30 14:05:37 -04:00
Lucio Franco a9f7992585 Remove more tODO's 2019-09-29 22:38:28 -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 60c9629630 Refactor all of the tls 2019-09-24 14:32:16 -04:00
Lucio Franco 922e480cec Add easy connect method in codegen 2019-09-21 14:21:28 -06:00
Lucio Franco 322f346b97 Use tokio::spawn in routeguide 2019-09-21 11:09:57 -06:00
Lucio Franco 8b548f2ea4 Nest server and client in their own mods 2019-09-06 17:52:41 -04:00
Lucio Franco ec5778dfa1 Update interop server 2019-09-06 15:37:08 -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 b1cf35e35d Add server and basic server side tls 2019-09-02 23:02:02 -04:00
Lucio Franco 6d09f4de25 Add use_tls option for interop tests 2019-09-02 18:20:22 -04:00
Lucio Franco b82439af17 Switch to using endpoint 2019-09-02 18:11:36 -04:00
Lucio Franco 782c0c19db Add basic load balancing 2019-09-02 16:39:16 -04:00
Lucio Franco 60e6d5df08 Rename client to channel 2019-09-01 12:44:01 -04:00
Lucio Franco cc2fa986a6 Add both rustls and openssl client tls implementation 2019-09-01 01:37:19 -04:00
Lucio Franco 4ea3fdfd1e Inital tls 2019-08-31 15:59:51 -04:00
Lucio Franco 644cc310f7 Use tower-reconnect 2019-08-31 02:14:45 -04:00
Lucio Franco 2ce4a7969e Basic default client 2019-08-31 00:52:26 -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 93eb9989d6 Fix encoding, more interop and update nightly version 2019-08-21 18:50:27 -04:00
Lucio Franco ef87a558e7 more clean up 2019-08-18 01:30:26 -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