Benedikt Reinartz

Results 67 issues of Benedikt Reinartz

There has been a new version of RabbitMQ released a while ago that should be merged.

In the original sources the option `prefer_ipv6` is set in the environment of the amqp_client application, this should also be done in this repository. Refer to this commit: https://github.com/issuu/amqp_client/commit/24e3303e30cef278977aa65cf1a793c4bf8552d1#diff-2

The following throws an error about `already_started`: - `logger:add_handler(otel, ...).` - `logger:remove_handler(otel).` - `logger:add_handler(otel, ...).`

- Add verl dependency and vendor it - Start integrating verl

Probably because Rust always expresses strings as `[u8]`, all `const char*` parameters in the NIF API were translated as `u8` or `uchar`. The correct type for these is `std::ffi::c_char` which...

Implement a Rust [global allocator](https://doc.rust-lang.org/std/alloc/trait.GlobalAlloc.html) using Erlang's [`enif_alloc`](https://www.erlang.org/doc/man/erl_nif.html#enif_alloc) and [`enif_free`](https://www.erlang.org/doc/man/erl_nif.html#enif_free). Rumor has it that this [makes Rust's memory usage show up in `erlang:memory()`](https://stackoverflow.com/a/14565864/542190). The tests are currently reproducibly seg-faulting on...

- Fix types to use the correct C type everywhere - Bump rustler_sys version due to the breaking API changes - Allow arbitrary ASCII strings as NIF names

Hi all, please have a look. This started as a direct import of https://github.com/sunny-g/serde_rustler/ into our codebase (@sunny-g, thanks again for your work!). ## Changes - Updated to Rustler 0.30...

### What does this implement/fix? Explain your changes. As observed by @rayfalling, multiple instances of `ReflectedType` values might be created in the cache, leading to crashes during stashing. @rayfalling, could...