unsafe alternatives and similar packages
Based on the "Macros" category.
Alternatively, view unsafe alternatives based on common mentions on social networks and blogs.
-
rulex
This tiny library (2 macros only) allows you to define very simple rule handler using Elixir pattern matching. -
apix
Simple convention and DSL for transformation of elixir functions to an API for later documentation and or validation. -
TypedStructor
TypedStructor is a library for defining typed structs, exceptions and record macros with effortlessly. -
Bang
Bang simply adds dynamic bang! functions to your existing module functions with after-callback.
SaaSHub - Software Alternatives and Reviews
Do you think we are missing an alternative of unsafe or a related project?
Popular Comparisons
README
Unsafe
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.