We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 53ca026 + 92e76d6 commit e28b531Copy full SHA for e28b531
lib/meeseeks_html5ever/native.ex
@@ -16,7 +16,8 @@ defmodule MeeseeksHtml5ever.Native do
16
env_config[:build_from_source],
17
targets:
18
Enum.uniq(["aarch64-unknown-linux-musl" | RustlerPrecompiled.Config.default_targets()]),
19
- version: version
+ version: version,
20
+ nif_versions: ["2.15", "2.16"]
21
22
def parse_html(_binary), do: err()
23
def parse_xml(_binary), do: err()
native/meeseeks_html5ever_nif/Cargo.toml
@@ -18,3 +18,8 @@ markup5ever = "0.11"
tendril = "0.4"
lazy_static = "1.4"
+
+[features]
+default = ["nif_version_2_15"]
24
+nif_version_2_15 = ["rustler/nif_version_2_15"]
25
+nif_version_2_16 = ["rustler/nif_version_2_16"]
0 commit comments