This is a Rust crate containing utilities for writing web apps with Rocket. It includes:
- a derive macro to generate error responses, complementing the derive from the
thiserror
crate - a macro to build HTML inspired by the
horrorshow
crate - an optional (feature-gated) wrapper type to generate responses containing images from the
image
crate - a wrapper around
Origin
(relative URLs) that can be parsed from a form field - a
Suffix
type that can be used to parse a URL part into a filename and extension