realmyst / meeseeks_html5ever

Meeseeks-specific NIF binding of html5ever using Rustler.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Meeseeks_Html5ever

Build Status MeeseeksHtml5ever version

Originally a fork of Hansihe's html5ever_elixir that is more tightly coupled with Meeseeks, Meeseeks_Html5ever has grown to include additional functionality, such as use of xml5ever for XML parsing.

Compatibility

Meeseeks_Html5ever requires a minimum combination of Elixir 1.6.0 and Erlang/OTP 20.0, and is tested with a maximum combination of Elixir 1.9.0 and Erlang/OTP 22.0.

Dependencies

Meeseeks_Html5ever depends on the Rust library html5ever, and you will need to have the Rust compiler installed.

Installation

Ensure Rust is installed, then add Meeseeks_Html5ever to your mix.exs:

def deps do
  [
    {:meeseeks_html5ever, "~> 0.12.1"}
  ]
end

Finally, run mix deps.get.

Contribute

Contributions are very welcome, especially bug reports.

If submitting a bug report, please search open and closed issues first.

To make a pull request, fork the project, create a topic branch off of master, push your topic branch to your fork, and open a pull request.

If you're submitting a bug fix, please include a test or tests that would have caught the problem.

If you're submitting new features, please test and document as appropriate.

Before submitting a PR, please run mix format.

By submitting a patch, you agree to license your work under the license of this project.

Running Tests

$ git clone https://github.com/mischov/meeseeks.git
$ cd meeseeks_html5ever
$ mix deps.get
$ mix test

Building Docs

$ MIX_ENV=docs mix docs

License

Licensed under either of

at your option.

About

Meeseeks-specific NIF binding of html5ever using Rustler.

License:Apache License 2.0


Languages

Language:Rust 68.0%Language:Elixir 26.0%Language:HTML 6.0%