diff --git a/docs/assets/themes/dracula.css b/docs/assets/themes/dracula.css index a1bcef2..5408edd 100644 --- a/docs/assets/themes/dracula.css +++ b/docs/assets/themes/dracula.css @@ -351,6 +351,19 @@ section.has-light-background h6 { box-shadow: 0 0 20px rgba(0, 0, 0, 0.55); } +/********************************************* + * LAYOUT + *********************************************/ + +.row { + display: flex; + flex-direction: row; +} + +.column { + flex: 1; +} + /********************************************* * NAVIGATION CONTROLS *********************************************/ diff --git a/docs/learning_grpc.md b/docs/learning_grpc.md index ea37fbc..78de9cf 100644 --- a/docs/learning_grpc.md +++ b/docs/learning_grpc.md @@ -396,13 +396,11 @@ note: - **Health check** of services - **Interceptors** - **Reflection** -- **Code generation** from proto definitions +- **Stub generation** from protos - RPC cancellation via **timeouts** -- Bidirectional **streaming** -- **Load balancing** - Request/Response **compression** -- **TLS** - Extensible via **Tower** services +- ... note: @@ -445,7 +443,79 @@ tonic_build::configure() note: -First we need to talk about how do we generate code from our protobuf definitions. +- prost_build generates types from the message definitions +- tonic_build generates the Client & Server stubs + +--- + +## Generated types + +