Update to the last Rust api.