Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/whitfin/unsafe
Generate unsafe (!) bindings for Elixir functions
https://github.com/whitfin/unsafe
Last synced: about 1 month ago
JSON representation
Generate unsafe (!) bindings for Elixir functions
- Host: GitHub
- URL: https://github.com/whitfin/unsafe
- Owner: whitfin
- License: mit
- Created: 2017-11-07T18:26:21.000Z (about 7 years ago)
- Default Branch: main
- Last Pushed: 2023-08-30T21:09:38.000Z (over 1 year ago)
- Last Synced: 2024-10-06T22:04:19.129Z (2 months ago)
- Language: Elixir
- Size: 30.3 KB
- Stars: 12
- Watchers: 3
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- freaking_awesome_elixir - Elixir - Generate easy unsafe (!) bindings for Elixir functions. (Macros)
- fucking-awesome-elixir - unsafe - Generate easy unsafe (!) bindings for Elixir functions. (Macros)
- awesome-elixir - unsafe - Generate easy unsafe (!) bindings for Elixir functions. (Macros)
README
# Unsafe
[![Build Status](https://img.shields.io/github/actions/workflow/status/whitfin/unsafe/ci.yml?branch=main)](https://github.com/whitfin/unsafe/actions) [![Coverage Status](https://img.shields.io/coveralls/whitfin/unsafe.svg)](https://coveralls.io/github/whitfin/unsafe) [![Hex.pm Version](https://img.shields.io/hexpm/v/unsafe.svg)](https://hex.pm/packages/unsafe) [![Documentation](https://img.shields.io/badge/docs-latest-blue.svg)](https://hexdocs.pm/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).```elixir
def deps do
[{:unsafe, "~> 1.0"}]
end
```Documentation and examples can be found on [Hexdocs](https://hexdocs.pm/unsafe/)
as they're updated automatically alongside each release.