Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/philss/rustler_precompiled
Use precompiled NIFs from trusted sources in your Elixir code
https://github.com/philss/rustler_precompiled
elixir hacktoberfest nifs precompilation precompiled rustler
Last synced: 10 days ago
JSON representation
Use precompiled NIFs from trusted sources in your Elixir code
- Host: GitHub
- URL: https://github.com/philss/rustler_precompiled
- Owner: philss
- Created: 2022-01-31T22:05:01.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-03-06T08:53:44.000Z (8 months ago)
- Last Synced: 2024-05-08T21:03:10.488Z (6 months ago)
- Topics: elixir, hacktoberfest, nifs, precompilation, precompiled, rustler
- Language: Elixir
- Homepage:
- Size: 6.92 MB
- Stars: 169
- Watchers: 8
- Forks: 20
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# Rustler Precompiled
[![CI](https://github.com/philss/rustler_precompiled/actions/workflows/ci.yml/badge.svg)](https://github.com/philss/rustler_precompiled/actions/workflows/ci.yml)
![Hex.pm](https://img.shields.io/hexpm/v/rustler_precompiled)This project aims to make the usage of precompiled NIFs easier
for Elixir projects using [Rustler](https://github.com/rusterlium/rustler).Read the [blog post](https://dashbit.co/blog/rustler-precompiled) announcing Rustler precompiled, and
check the [documentation](https://hexdocs.pm/rustler_precompiled) for further details.There is an [example project](https://github.com/philss/rustler_precompilation_example) demonstrating
the usage of RustlerPrecompiled.
But you can find "real" projects using it too: [Explorer](https://github.com/elixir-nx/explorer) and
[Tokenizers](https://github.com/elixir-nx/tokenizers) are good examples.## Installation
The package can be installed by adding `rustler_precompiled` to your
list of dependencies in `mix.exs`:```elixir
def deps do
[
{:rustler_precompiled, "~> 0.8"}
]
end
```## License
Copyright 2022 Philip Sampaio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License athttp://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.