DuskSystems / wayfind

A speedy, flexible router for Rust.
Apache License 2.0
7 stars 0 forks source link

Decide on approach for supporting builder pattern for routes #159

Open CathalMullan opened 1 week ago

CathalMullan commented 1 week ago

Need to do this before we decide to support other routing capabilities.

let route = RouteBuilder::new("/{name}")
    ...
    .build()?;

router.insert(route)?;