File tree Expand file tree Collapse file tree 3 files changed +25
-3
lines changed Expand file tree Collapse file tree 3 files changed +25
-3
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
66
77## [ Unreleased]
88
9+ ## [ 0.13.0] - 2022-04-28
10+
11+ ### Changed
12+
13+ - Bump requirement for ` rustler_precompiled ` to ` ~> v0.4 ` . This is needed to avoid installing Rustler by default.
14+ - Bump ` html5ever ` (Rust crate) to ` v0.26.0 ` .
15+
916## [ 0.12.0] - 2022-03-14
1017
1118### Changed
@@ -77,7 +84,8 @@ is not needed for most of people using this project.
7784
7885- Add support for OTP 24. This was achieved by updating Rustler to v0.22.
7986
80- [ Unreleased ] : https://github.com/rusterlium/html5ever_elixir/compare/v0.12.0...HEAD
87+ [ Unreleased ] : https://github.com/rusterlium/html5ever_elixir/compare/v0.13.0...HEAD
88+ [ 0.13.0 ] : https://github.com/rusterlium/html5ever_elixir/compare/v0.12.0...v0.13.0
8189[ 0.12.0 ] : https://github.com/rusterlium/html5ever_elixir/compare/v0.11.0...v0.12.0
8290[ 0.11.0 ] : https://github.com/rusterlium/html5ever_elixir/compare/v0.10.1...v0.11.0
8391[ 0.10.1 ] : https://github.com/rusterlium/html5ever_elixir/compare/v0.10.0...v0.10.1
Original file line number Diff line number Diff line change @@ -12,10 +12,12 @@ The package can be installed by adding `html5ever` to your list of dependencies
1212
1313``` elixir
1414def deps do
15- [{:html5ever , " ~> 0.12 .0" }]
15+ [{:html5ever , " ~> 0.13 .0" }]
1616end
1717```
1818
19+ ## Forcing compilation
20+
1921By default ** you don't need Rust installed** because the lib will try to download
2022a precompiled NIF file. In case you want to force compilation set the
2123` HTML5EVER_BUILD ` environment variable to ` true ` or ` 1 ` . Alternatively you can also set the
@@ -25,6 +27,18 @@ application env `:build_from_source` to `true` in order to force the build:
2527config :html5ever , Html5ever , build_from_source: true
2628```
2729
30+ You also need to add Rustler to your dependencies when you want to force
31+ the compilation:
32+
33+ ``` elixir
34+ def deps do
35+ [
36+ {:html5ever , " ~> 0.13.0" },
37+ {:rustler , " >= 0.0.0" , optional: true }
38+ ]
39+ end
40+ ```
41+
2842## License
2943
3044Licensed under either of
Original file line number Diff line number Diff line change 11defmodule Html5ever.Mixfile do
22 use Mix.Project
33
4- @ version "0.13.0-dev "
4+ @ version "0.13.0"
55 @ repo_url "https://github.com/rusterlium/html5ever_elixir"
66
77 def project do
You can’t perform that action at this time.
0 commit comments