Track Rust master

Fix usage of deprecated methods to compile with latest Rust nightly:
* parse instead of from_str
* std::iter::repeat instead of deprecated StrExt::repeat
* per char is_whitespace instead of deprecated StrExt::is_whitespace
Merge pull request #352 from vbuslov/track-rust-master

Track Rust master