Commit Graph
47 Commits
Author SHA1 Message Date
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
Kevin ZhangandLucio Franco afa9d9d236 Fix typo in examples readme (#36) 2019-10-03 16:09:39 -04:00
Lucio FrancoandGitHub 8f80d0f6d1 chore(docs): Update tonic-build docs (#22) 2019-10-01 19:34:45 -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 cd0b8424b9 pin all alpha dependencies (#19) 2019-10-01 15:54:32 -04:00
Juan AlvarezandLucio Franco d275785c55 Update dependencies (#18)
* update dependencies

* tonic-examples: Lock -> Mutex
2019-10-01 15:04:07 -04:00
Simon ChemouilandLucio Franco 02d14da3d6 Fix serde version in examples (#17) 2019-10-01 10:00:29 -04:00
BhargavandLucio Franco 6fe8957fa7 Add note on required dependencies (#16) 2019-09-30 21:55:13 -04:00
Lucio Franco 9af614e5f7 fix examples 2019-09-30 19:36:18 -04:00
BhargavandLucio Franco 1c751d4404 add note on required dependencies (#15)
* add note on required dependencies

* Include build dependencies in codegen
2019-09-30 19:03: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 529c3fc0ab Add examples readme 2019-09-29 21:01:29 -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
John DonethandLucio Franco eb0c0c286b Improve tonic-build configuration (#2) 2019-09-23 09:32:44 -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 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 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 4861354d46 remove extra path deps 2019-09-01 12:53:12 -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