Use new crate attribute syntax

This fixes the following warning:

  this inner attribute syntax is deprecated. The new syntax is `#![foo]`, with a bang and no semicolon.
Slices aren't growable anymore; use a Vec instead
Remove now-unneeded std::slice import (solves warning)
Merge pull request #2 from riccieri/nightly-updates

Nightly updates