Rustler v0.22.0 Release Notes

Release Date: 2019-09-07 // about 2 years ago
  • โž• Added

    • ๐Ÿ‘Œ Support for OTP22.
    • ๐Ÿ‘• Rust linting with clippy.
    • Support for decoding IOLists as binaries, Term::decode_as_binary.

    ๐Ÿ”„ Changes

    • rustler_codegen is now reexported by the rustler crate. Depending on the rustler_codegen crate is deprecated.
    • erlang_nif-sys has been renamed to rustler_sys and vendored into the rustler repo.
    • ๐Ÿ“ฆ Replaced the hand-rolled TOML parser in rustler_mix with the toml-elixir package.
    • ๐Ÿ‘Œ Improve error messages for derived encoders/decoders.
    • Rust bool now corresponds only to booleans (false, true) in Elixir. Previously, nil and false were both decodable to bool. To use the previous behaviour, a Truthy newtype was introduced.

Previous changes from v0.13.0