Benedikt Reinartz
Benedikt Reinartz
In 9122f07239a4344cc3fb0b03769003a2b1ea962a you have removed `rebar_mix_hook` which provides the documented `consolidate_protocols` hook. Is that hook not needed anymore or was the removal accidental?
- Move storage of "Type->NIF Resource Type Handle" to a OnceLock map to allow implementing resource types without resorting to dynamic trait implementations - Implement resource types as a `derive`...
This is an alternative approach to #613. The advantage is that the NIFs get collected into a static symbol `RUSTLER_NIF` that can be inspected without loading the NIF. See #614...
Initial PoC for a tool that takes a compiled NIF library and reads back its information. This could be used to automatically generate a matching Erlang (`rebar3_cargo`) or Elixir (`Rustler`)...