Skip to content

kloeckner-i/mail_parser

Repository files navigation

MailParser

CI Build precompiled NIFs Docs Hex.pm

NIF binding of mail_parser using Rustler.

Installation

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

Forcing compilation

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

License

Licensed under either of

at your option.