rusterlium / rustler

Safe Rust bridge for creating Erlang NIF functions
https://docs.rs/crate/rustler
Apache License 2.0
4.24k stars 222 forks source link

Rustler version not found "0.33.1" #622

Closed samfrench closed 3 days ago

samfrench commented 3 weeks ago

Should this be version "0.33.0"?

https://github.com/rusterlium/rustler/blob/master/rustler_mix/lib/rustler.ex#L173

Otherwise I get an error when trying to start in iex.

Compiling 1 file (.ex)
    Updating crates.io index
error: failed to select a version for the requirement `rustler = "^0.33.1"`
candidate versions found which didn't match: 0.33.0, 0.32.1, 0.31.0, ...
location searched: crates.io index
filmor commented 3 weeks ago

Oh, I'm sorry, I must have made a fat-finger mistake on the last release. The only place where this matters is when you first create a new Rustler project. You can adjust the generated Cargo.toml accordingly.

samfrench commented 3 weeks ago

Hi @filmor, I did change the line in the Cargo.toml and then it worked. Was asking in case it needed changing but wasn't sure if it was meant to be the newer version number. Thank you for replying.

filmor commented 3 days ago

Fixed (and improved the behaviour) with the release of 0.34.0.