Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

YAML DSL

The YAML DSL declares routes as configuration files. The parser converts each file into the same RouteDefinition the Rust builder API produces. The runtime treats both authoring forms identically.

Reach for the YAML DSL when routes change more often than the application binary. Operations teams ship route edits through config management, and the hot-reload subsystem applies them without a redeploy. The same grammar also parses as JSON.