Hi everyone!
I'm currently developing a small cryptographic library for Gleam that uses the Rust Orion crate as its backend. I'm using Rustler to bridge between the BEAM and Rust.
While the development process has been smooth overall, I'm encountering some challenges with publishing the library to Hex. Specifically, I'm unsure about how to handle the inclusion of native code. I'd prefer to avoid publishing native binaries for every architecture.
After some research, I noticed there isn't currently a standardized way in Gleam to call external build tools like Cargo for dependencies. So I wanted to know what the current "best" approach for publishing Gleam libraries with NIFs is and how others tend to do it?
Best regards,
Simon