Skip to content

Commit 8957a63

Browse files
authored
add nif_versions to rustler_precompiled config (#51)
1 parent 8d4b548 commit 8957a63

File tree

3 files changed

+25
-24
lines changed

3 files changed

+25
-24
lines changed

lib/ex_keccak.ex

+2-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ defmodule ExKeccak do
1717
["aarch64-unknown-linux-musl", "x86_64-unknown-freebsd"] ++
1818
RustlerPrecompiled.Config.default_targets()
1919
),
20-
version: version
20+
version: version,
21+
nif_versions: ["2.15", "2.16"]
2122

2223
def hash_256(_data), do: :erlang.nif_error(:nif_not_loaded)
2324
end

native/exkeccak/Cargo.lock

+22-22
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

native/exkeccak/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,5 @@ path = "src/lib.rs"
1010
crate-type = ["dylib"]
1111

1212
[dependencies]
13-
rustler = "0.30"
13+
rustler = "0.32"
1414
tiny-keccak = { version = "2.0", features = ["keccak"] }

0 commit comments

Comments
 (0)