/unsafe

Generate unsafe (!) bindings for Elixir functions

Primary LanguageElixirMIT LicenseMIT

Unsafe

Build Status Coverage Status Hex.pm Version Documentation

This library is designed at generating unsafe (!) bindings for Elixir function definitions at compile time.

The aim is to reduce the amount of duplicated code that developers have to write when supporting both safe and unsafe variants of functions. It was written to scratch a personal itch but due to the clear utility for a wider audience, it was packaged up to make it extensible as an open source project.

To install it for your project, you can pull it directly from Hex. Rather than use the version shown below, you can use the the latest version from Hex (shown at the top of this README).

def deps do
  [{:unsafe, "~> 1.0"}]
end

Documentation and examples can be found on Hexdocs as they're updated automatically alongside each release.