Rustler v0.21.0 Release Notes
Release Date: 2019-09-07 // over 4 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 therustler
crate. Depending on therustler_codegen
crate is deprecated.erlang_nif-sys
has been renamed torustler_sys
and vendored into the rustler repo.- ๐ฆ Replaced the hand-rolled TOML parser in
rustler_mix
with thetoml-elixir
package. - ๐ Improve error messages for derived encoders/decoders.
- Rust
bool
now corresponds only to booleans (false
,true
) in Elixir. Previously,nil
andfalse
were both decodable tobool
. To use the previous behaviour, aTruthy
newtype was introduced.