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
6
6
7
7
## [ Unreleased]
8
8
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
+
9
16
## [ 0.12.0] - 2022-03-14
10
17
11
18
### Changed
@@ -77,7 +84,8 @@ is not needed for most of people using this project.
77
84
78
85
- Add support for OTP 24. This was achieved by updating Rustler to v0.22.
79
86
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
81
89
[ 0.12.0 ] : https://github.com/rusterlium/html5ever_elixir/compare/v0.11.0...v0.12.0
82
90
[ 0.11.0 ] : https://github.com/rusterlium/html5ever_elixir/compare/v0.10.1...v0.11.0
83
91
[ 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
12
12
13
13
``` elixir
14
14
def deps do
15
- [{:html5ever , " ~> 0.12 .0" }]
15
+ [{:html5ever , " ~> 0.13 .0" }]
16
16
end
17
17
```
18
18
19
+ ## Forcing compilation
20
+
19
21
By default ** you don't need Rust installed** because the lib will try to download
20
22
a precompiled NIF file. In case you want to force compilation set the
21
23
` 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:
25
27
config :html5ever , Html5ever , build_from_source: true
26
28
```
27
29
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
+
28
42
## License
29
43
30
44
Licensed under either of
Original file line number Diff line number Diff line change 1
1
defmodule Html5ever.Mixfile do
2
2
use Mix.Project
3
3
4
- @ version "0.13.0-dev "
4
+ @ version "0.13.0"
5
5
@ repo_url "https://github.com/rusterlium/html5ever_elixir"
6
6
7
7
def project do
You can’t perform that action at this time.
0 commit comments