Update to compile without warnings on latest nightly.

There are a bunch of warnings (mostly caused by deprecations), and a compile error caused by bitrot. This fixes the highlighted issues.
Version bump to 0.1.1.