Searched refs:router (Results 1 – 5 of 5) sorted by relevance
| /tonic/tonic/src/service/ |
| H A D | router.rs | 15 router: axum::Router, field 51 router: axum::Router::new().fallback(unimplemented), in default() 89 self.router = self.router.route_service( in add_service() 101 router: self.router.with_state(()), in prepare() 107 self.router in into_axum_router() 112 &mut self.router in axum_router_mut() 125 fn from(router: axum::Router) -> Self { in from() 127 routes: Some(router.into()), in from() 133 fn from(router: axum::Router) -> Self { in from() 134 Self { router } in from() [all …]
|
| H A D | mod.rs | 6 pub(crate) mod router; module 13 pub use self::router::{Routes, RoutesBuilder};
|
| /tonic/examples/src/h2c/ |
| H A D | server.rs | 49 let router = h2c.clone(); in main() localVariable 54 TowerToHyperService::new(router), in main()
|
| /tonic/tonic/ |
| H A D | Cargo.toml | 30 default = ["router", "transport", "codegen", "prost"] 37 router = ["dep:axum", "dep:tower", "tower?/util"]
|
| /tonic/ |
| H A D | CHANGELOG.md | 22 * **router:** Add RoutesBuilder constructor (#1855) 24 * **router:** Rename Routes::into_router with into_axum_router (#1862) 25 * **router:** Implement from axum::Router for Routes (#1863) 33 * **router:** Add missing unimplemented fallback to RoutesBuilder (#1864) 60 * **transport:** Make service router independent from transport ([#1572](https://github.com/hyperiu… 298 * **transport:** port router to axum ([#830](https://github.com/hyperium/tonic/issues/830)) ([6dfc2…
|