A library providing Rust bindings for the XKCD web API.
The library provides a
XkcdRequestSender trait which can be implemented by
various request senders. These implementations may then be used to execute
requests to the API.
hyper feature is enabled during compilation, then this library
provides an implementation of the
XkcdRequestSender trait for the
hyper::Client of the
Response bodies are deserialized from JSON into structs via the
Retrieves information on XKCD comics.
Struct and enum definitions of values in the XKCD API model.
Retrieves information on a random XKCD comic.
Represents errors which occur while using the XKCD API.
Represents errors which occur when sending an HTTP request to the XKCD API.
Functionality for sending requests to the XKCD API via HTTPS.
A convenient alias type for results for