Switch to rust-core and update for latest Rust