Safe Rust bridge for creating Erlang NIF functions
Full Changelog: https://github.com/rusterlium/rustler/compare/rustler-0.22.2...rustler-0.23.0
Full Changelog: https://github.com/rusterlium/rustler/compare/rustler-0.22.1...rustler-0.22.2
Full Changelog: https://github.com/rusterlium/rustler/compare/rustler-0.22.0...rustler-0.22.1
init!
macro by @scrogson in https://github.com/rusterlium/rustler/pull/255
:rustler
instead :rustler_mix
by @BurntCaramel in https://github.com/rusterlium/rustler/pull/265
{:error, <term>}
by @elbow-jason in https://github.com/rusterlium/rustler/pull/252
Full Changelog: https://github.com/rusterlium/rustler/compare/rustler-0.21.2...rustler-0.22.0
Term::decode_as_binary
.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.rustler_mix
with the toml-elixir
package.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.