sz-rust-router-facade 0.6.2

路由层 facade(P3)— router/routing/websocket_route/openapi 三层路由机制
Documentation

sz-rust-router-facade — 路由层(P3 解耦)

从 sz-rust-core 提取的三层路由机制(对齐 PHP ThinkPHP 路由体系):

  • [router]:路由构建层(parse_path / RouterBuilder / 资源路由)
  • [routing]:三层路由机制(属性宏 / 配置式 / 约定式)
  • [websocket_route]:WebSocket 路由注册
  • [openapi]:OpenAPI 规范自动生成(消费 [routing] 的规则)

sz-rust-core 通过 pub use sz_rust_router_facade::{router, routing, websocket_route, openapi} 保留向后兼容路径。