Upload to crates.io plus fixes for changes in Rust