Commit Graph
33 Commits
Author SHA1 Message Date
Lucio FrancoandGitHub 4e1fcece15 fix(codegen): Use wellknown types from prost-types (#49)
This change introduces the ability to let prost-build
provide the fully qualifed type path for types that
start with `google.protobuf`.
2019-10-05 13:16:09 -04:00
Lucio FrancoandGitHub 4559613c37 feat(codgen): Add default implementations for the generated serve… (#27)
* Rename servce -> server

* Add default impl for server trait
2019-10-02 16:01:44 -04:00
Lucio FrancoandGitHub 2670b349f9 fix(codegen): Fix Empty protobuf type and add unimplemented (#26)
* Add license attribute to tonic-build

* fix(codegen): Fix Empty protobuf type and add unimplemented

* Remove syn full feature
2019-10-01 23:46:54 -04:00
Lucio FrancoandGitHub a282b6682d chore(release): Prepare 0.1.0-alpha.1 release (#24) 2019-10-01 22:13:52 -04:00
Lucio FrancoandGitHub 8f80d0f6d1 chore(docs): Update tonic-build docs (#22) 2019-10-01 19:34:45 -04:00
Lucio Franco 08d8795d17 more docs 2019-10-01 17:08:32 -04:00
Juan AlvarezandLucio Franco d275785c55 Update dependencies (#18)
* update dependencies

* tonic-examples: Lock -> Mutex
2019-10-01 15:04:07 -04:00
Lucio Franco a35ef96a03 Add docs to transport and refactor some api's 2019-09-29 17:04:42 -04:00
Lucio Franco 1d9e3daa07 Remove generated doc comment test 2019-09-29 10:39:57 -04:00
John DonethandLucio Franco 8becd257bc More documentation generation (#12)
* generate rustdoc comments from .proto file comments

* move imports to top of file

* more docs gen

* trait docs

* more docs

* use singular doc gen fn here

* remove pesky space
2019-09-26 19:41:51 -04:00
Lucio Franco d2355ed83c fmt 2019-09-25 20:54:13 -04:00
John DonethandLucio Franco 36d0b1cb04 Generate rustdocs from .proto file comments (#10)
* generate rustdoc comments from .proto file comments

* move imports to top of file
2019-09-25 20:51:12 -04:00
John DonethandLucio Franco 646796f248 Add some doc examples (#9)
* doc examples for tonic::Streaming

* from http doc

* more docs

* use same export pattern

* interceptor doc WIP

* remove unfinished doc examples

* recommended changes

* remove unnecessary prost refs
2019-09-25 11:36:23 -04:00
Lucio Franco a37640c282 Fix doctest 2019-09-24 16:09:26 -04:00
Lucio Franco 1e579d1bd4 Fix rustfmt in tonic-build 2019-09-24 15:41:09 -04:00
Lucio Franco 60c9629630 Refactor all of the tls 2019-09-24 14:32:16 -04:00
Lucio Franco 72a0ffbbab Merge branch 'master' of github.com:LucioFranco/tonic 2019-09-23 21:00:41 -04:00
alceandLucio Franco 3dbb48f9f3 Delay determining out_dir (#3) 2019-09-23 20:59:16 -04:00
Lucio Franco bc500963b1 Merge branch 'master' of github.com:LucioFranco/tonic 2019-09-23 17:09:25 -04:00
John DonethandLucio Franco eb0c0c286b Improve tonic-build configuration (#2) 2019-09-23 09:32:44 -04:00
Lucio Franco cccc008366 todo clean up 2019-09-22 12:45:19 -05:00
Lucio Franco 782da6f0e5 implement last interop test 2019-09-21 16:02:10 -06:00
Lucio Franco 922e480cec Add easy connect method in codegen 2019-09-21 14:21:28 -06:00
Lucio Franco 5ded741eb6 Clean up docs 2019-09-21 11:20:30 -06:00
Lucio Franco cd9133a41c Doc hide codegen inner service 2019-09-21 11:13:18 -06:00
Lucio Franco 62f0285ff0 implemented server cusotm metadata 2019-09-21 10:23:31 -06:00
Lucio Franco da279a957d server codegen unimplemented 2019-09-20 15:39:03 -06:00
Lucio Franco f74bba6858 Add server interop tests 2019-09-06 21:40:59 -04:00
Lucio Franco cc8a7bfcbf make rustfmt optional 2019-09-06 18:25:27 -04:00
Lucio Franco cd44bf8e9f Clean up tonic-build 2019-09-06 18:16:11 -04:00
Lucio Franco 8b548f2ea4 Nest server and client in their own mods 2019-09-06 17:52:41 -04:00
Lucio Franco d0cfafafc6 Move codegen to build and remove macros 2019-09-06 15:19:18 -04:00
Lucio Franco 5e208d9da2 First pass at macro 2019-08-15 17:50:25 -04:00