Sonny Scroggin
Sonny Scroggin
Seems that non-Rust BEAM users wouldn't be using it directly right? It would be NIF devs that would configure their lib to use the rebar3 plugin?
> what about having the plugin as part of the @rusterlium org? Yes, that would be excellent 👍
@bitwalker one thing that we've been thinking about is allowing NIF libraries to ship precompiled binaries in the hex package. I suppose some other options would be to fetch a...
@hansihe do you have anything in mind for this?
I think it might be time to pull in the `failure` crate and provide errors as structs. All `Result`s become: `Result`.
What about something more similar to `serde`'s `rename`? ```rust #[derive(NifUnitEnum)] pub struct KeepCase { #[rustler(rename = "UPPERCASE")] uppercase, lowercase } ``` I imagine that if we end up adding `serde`...
> Of course, rustler_serde would be the preferred way. Agreed in the context of this crate. I would assume that it wouldn't really be useful outside of rustler anyways.
I started working on integrating this into rustler over the weekend 👍
Can you paste some example code that produces this scenario?
hmm...but this isn't real world use case, is it? Seems only useful for debugging purposes.