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.
Merge pull request #1 from TimDumol/fix-deprecations

Update to compile without warnings on latest nightly.