5 unstable releases

Uses old Rust 2015

0.3.0 Nov 23, 2017
0.2.2 Feb 16, 2017
0.2.1 Dec 1, 2016
0.2.0 Jun 25, 2016
0.1.0 Jun 23, 2016

#9 in #comic

36 downloads per month


458 lines


Linux travis-badge
api-docs-badge crates-io license-badge coveralls-badge

Rust bindings for the XKCD web API.

Table of Contents


Add the following to your Cargo.toml:

xkcd = "0.3"

And in your lib.rs or main.rs:

extern crate xkcd;

See the API docs for information on using the crate in your library.


Contributions are always welcome! If you have an idea for something to add (code, documentation, tests, examples, etc.) feel free to give it a shot.

Please read CONTRIBUTING.md before you start contributing.


The higher-level API design for this library is inspired by the slack-rs/slack-rs-api library.

The list of contributors to this project can be found at CONTRIBUTORS.md.


xkcd-rs is distributed under the terms of both the MIT license and the Apache License (Version 2.0).

See LICENSE-APACHE, and LICENSE-MIT for details.


~246K SLoC