Commit Graph
7 Commits
Author SHA1 Message Date
Juan AlvarezandLucio Franco 3809f18dc6 update to stable toolchain (#122)
* update to stable toolchain

* remove toolchan note from routeguide
2019-11-09 09:54:18 +00:00
Koki KatoandLucio Franco 0f5059a5ee chore(tutorials): Add another .await after client connect call (#112) 2019-11-02 12:15:45 -04:00
WilcovandLucio Franco c9b7523a5b chore(tutorials): Add .await after client connect call (#109)
Both tutorials were missing .await on the client connect call, causing the compiler to issue errors.
Thanks for alce#6260 on the #tonic-users discord channel for providing the answer.
2019-10-31 17:54:21 -04:00
Lucio FrancoandGitHub 3a39b1e7c8 chore: Prepare alpha.5 release (#108)
Signed-off-by: Lucio Franco <[email protected]>
2019-10-31 14:26:35 -04:00
Lucio FrancoandGitHub 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
Matt ConwayandLucio Franco af5754bd43 chore(docs): Bump tonic versions in tutorials (#96) 2019-10-26 22:44:01 -04:00
Matt ConwayandLucio Franco 8ebedcde2f chore(docs): Add helloworld tutorial (#80) 2019-10-22 19:03:39 -04:00