structpath
Library for parsing url paths into structs and generating url paths from structs in rust
structpath is a libary which allows parsing and generating url paths in a convenient type safe way.
structpath leverages serde to help parse values into structs.
Examples
Basic example
use ;
use Schema;
const foo_path = "/foo/<foo_id:u128>/bar/<bar>";
// This is a general idea of a web request handler, not important for the demonstration