Skip to content

Commit

Permalink
support freebsd target
Browse files Browse the repository at this point in the history
  • Loading branch information
ayrat555 committed Sep 5, 2023
1 parent 193e058 commit 5047a00
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## 0.7.2

* Support freebsd target

## 0.7.1

* Use a generic ENV name to force build (https://github.com/ayrat555/ex_secp256k1/pull/20)
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ dependencies in `mix.exs`:

```elixir
[
{:ex_secp256k1, "~> 0.7.1"}
{:ex_secp256k1, "~> 0.7.2"}
]
```

Expand Down
1 change: 1 addition & 0 deletions lib/ex_secp256k1/impl.ex
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ defmodule ExSecp256k1.Impl do
crate: :ex_secp256k1,
base_url: "https://github.com/ayrat555/ex_secp256k1/releases/download/v#{version}",
force_build: System.get_env("RUSTLER_BUILD") in ["1", "true"],
targets: Enum.uniq(["x86_64-unknown-freebsd" | RustlerPrecompiled.Config.default_targets()]),
version: version

def sign(_message, _private_key), do: :erlang.nif_error(:nif_not_loaded)
Expand Down
2 changes: 1 addition & 1 deletion mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ defmodule ExSecp256k1.MixProject do

@source_url "https://github.com/omgnetwork/ex_secp256k1"

@version "0.7.1"
@version "0.7.2"

def project do
[
Expand Down

0 comments on commit 5047a00

Please sign in to comment.