Set of examples that show off the features provided by tonic
.
$ cargo run --bin helloworld-client
$ cargo run --bin helloworld-server
$ cargo run --bin routeguide-client
$ cargo run --bin routeguide-server
$ cargo run --bin authentication-client
$ cargo run --bin authentication-server
$ cargo run --bin load-balance-client
$ cargo run --bin load-balance-server
$ cargo run --bin dynamic-load-balance-client
$ cargo run --bin dynamic-load-balance-server
$ cargo run --bin tls-client
$ cargo run --bin tls-server
$ cargo run --bin health-server
$ cargo run --bin tower-server
systemfd --no-pid -s http::[::1]:50051 -- cargo watch -x 'run --bin autoreload-server'
If you are using the codegen
feature, then the following dependencies are
required:
The autoload example requires the following crates installed globally: