Adapt to rust changes. Fixes #203.
Merge pull request #204 from palango/master

Adapt to rust changes. Fixes #203.