std::str::from_str deprecated, replaced by .parse()

Fixes "warning: use of deprecated item: call the .parse() method on the string instead" on rust-nightly
Merge pull request #101 from alkama/wip-from_str_deprecation

std::str::from_str deprecated, replaced by .parse()