NIF binding of mail_parser using Rustler.
The package can be installed by adding mail_parser
to your list of dependencies in mix.exs
:
def deps do
[
{:mail_parser, "~> 0.7"}
]
end
By default you don't need Rust installed because the library will try to download a precompiled NIF file. In case you want to force compilation set the FORCE_BUILD
environment variable to true
.
You also need to add Rustler to your dependencies when you want to force the compilation:
def deps do
[
{:mail_parser, "~> 0.5"}
{:rustler, ">= 0.0.0", optional: true}
]
end
Licensed under either of
- Apache License, Version 2.0, (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.