Upgrade to latest Rust
Fix deprecation warnings