Change to new `use foo as bar` syntax
Change to [lib] since [[lib]] got deprecated
Merge pull request #593 from lucidd/master

syntax changes to please new rustc and cargo