Magnus

Results 9 issues of Magnus

This PR builds on the previous work of @turion (https://github.com/rusterlium/rustler/pull/430), @SeokminHong (https://github.com/rusterlium/rustler/pull/430#issuecomment-1175816881) and @neosimsim (https://github.com/rusterlium/rustler/pull/471), so kudos to them, this PR only attempts to complete their prior work. Handling lifetimes...

The `lib` option is used by the `binary_example` test NIF, but it is not yet documented. Maybe we should document it?

enhancement
help wanted
needs docs

To follow-up on #320: clippy complains about missing `# Safety` sections in the documentation of some unsafe functions. * [ ] Remove `#![allow(clippy::missing_safety_doc)]` * [ ] Add documentation on safety...

needs docs

`NifUnitEnum` currently expects atoms corresponding to struct fields to be [in snake case](https://github.com/rusterlium/rustler/blob/master/rustler_codegen/src/unit_enum.rs#L74). This works fine when the user can define the atoms to be in snake case. If that...

[enif_send](http://erlang.org/doc/man/erl_nif.html#enif_send) returns a flag, indicating if the send succeeded or not. From the documentation: > Returns true if the message is successfully sent. Returns false if the send operation fails,...

When multiple `forall` or similar properties are used within a `property`, only the result of the last `forall` is relevant to the test result: ```elixir property "multiple forall" do forall...

This pull requests adds a mix project to run benchmarks against rustler.

When using MIX_ENV to configure the build profile, changing `MIX_ENV` in a subsequent run needs to trigger the mechanism for recompilation to determine if that mode was build. For this,...

The first key of module_info/0 is not necessarily 'exports'.