Skip to content

Commit a5404ab

Browse files
committed
Add missing version
1 parent 0979db1 commit a5404ab

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

lib/excoding.ex

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,9 @@ defmodule Excoding do
4040
otp_app: :excoding,
4141
crate: "excoding",
4242
base_url: "https://github.com/moogle19/excoding/releases/download/v#{version}",
43-
force_build: System.get_env("RUSTLER_PRECOMPILATION_EXAMPLE_BUILD") in ["1", "true"],
44-
mode: if(Mix.env() == :prod, do: :release, else: :debug)
43+
force_build: System.get_env("RUSTLER_PRECOMPILATION_EXCODING_BUILD") in ["1", "true"],
44+
mode: if(Mix.env() == :prod, do: :release, else: :debug),
45+
version: version
4546

4647
@doc """
4748
Encodes utf-8 string using given codepage. If there are any unknown codes they

mix.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ defmodule Excoding.MixProject do
2424
# Run "mix help deps" to learn about dependencies.
2525
defp deps do
2626
[
27-
{:rustler, "~> 0.25.0"},
2827
{:rustler_precompiled, "~> 0.5"},
28+
{:rustler, ">= 0.0.0", optional: true},
2929
{:ex_doc, ">= 0.0.0", only: :dev, runtime: false}
3030
]
3131
end

0 commit comments

Comments
 (0)