Use [lib] instead of deprecated [[lib]] in Cargo.toml
Update to latest Rust nightly.