Vec::from_slice(x) -> x.to_vec()
Merge pull request #119 from ebfe/deprecated

Fix deprecation warnings