aboutsummaryrefslogtreecommitdiffstats
path: root/src/models.rs
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@anduin.net>2017-11-20 20:53:00 +0100
committerHarald Eilertsen <haraldei@anduin.net>2017-11-20 20:53:00 +0100
commitc65b9e00d5d37722e7e4887e7165e19931048c83 (patch)
tree139bb7d2b386cf3919b7be7cd3db39df08c75050 /src/models.rs
parentba6d64efd3facfbe3865780292bf85ea0003ace6 (diff)
downloadrocket-blog-c65b9e00d5d37722e7e4887e7165e19931048c83.tar.gz
rocket-blog-c65b9e00d5d37722e7e4887e7165e19931048c83.tar.bz2
rocket-blog-c65b9e00d5d37722e7e4887e7165e19931048c83.zip
Use route decorators to produce different output formats.
This seems to be the more proper way of doing it. Also makes it much clearer which routes exists, and what formats they accept. Both in the code and in the status output.
Diffstat (limited to 'src/models.rs')
0 files changed, 0 insertions, 0 deletions