Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

NIF wrapper of html5ever using Rustler

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT
NotificationsYou must be signed in to change notification settings

rusterlium/html5ever_elixir

Repository files navigation

CI

NIF binding ofhtml5ever usingRustler.

It is currently functional with basic features.

Installation

The package can be installed by addinghtml5ever to your list of dependencies inmix.exs:

defdepsdo[{:html5ever,"~> 0.17.0"}]end

Or withMix.install/1:

Mix.install([:html5ever])

Forcing compilation

By defaultyou don't need Rust installed because the lib will try to downloada precompiled NIF file. In case you want to force compilation set theHTML5EVER_BUILD environment variable totrue or1. Alternatively you can also set theapplication env:build_from_source totrue in order to force the build:

config:html5ever,Html5ever,build_from_source:true

You also need to add Rustler to your dependencies when you want to forcethe compilation:

defdepsdo[{:html5ever,"~> 0.17.0"},{:rustler,">= 0.0.0",optional:true}]end

License

Licensed under either of

at your option.

About

NIF wrapper of html5ever using Rustler

Topics

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Contributors8


[8]ページ先頭

©2009-2025 Movatter.jp