From deb717b0e81a6434c23d699bbd483cb446ee1f0b Mon Sep 17 00:00:00 2001 From: Benjamin Eckel Date: Tue, 16 May 2023 16:33:38 -0500 Subject: [PATCH] fix(elixir): Fix nif package build and release as 0.3.2 (#345) Published this fix as 0.3.2: https://github.com/extism/extism/issues/343 going to disconnect this rust project for the time being. If we want to publish a new elixir client with the new runtime then we must wait until the runtime hit's crates.io --- Cargo.toml | 1 - elixir/mix.exs | 2 +- elixir/native/extism_nif/Cargo.toml | 7 +++++-- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index a13ff17..f084a59 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -4,5 +4,4 @@ members = [ "runtime", "rust", "libextism", - "elixir/native/extism_nif" ] diff --git a/elixir/mix.exs b/elixir/mix.exs index f0e1ea7..6e00379 100644 --- a/elixir/mix.exs +++ b/elixir/mix.exs @@ -4,7 +4,7 @@ defmodule Extism.MixProject do def project do [ app: :extism, - version: "0.3.0", + version: "0.3.2", elixir: "~> 1.12", start_permanent: Mix.env() == :prod, deps: deps(), diff --git a/elixir/native/extism_nif/Cargo.toml b/elixir/native/extism_nif/Cargo.toml index 8dc348a..7e26b2a 100644 --- a/elixir/native/extism_nif/Cargo.toml +++ b/elixir/native/extism_nif/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "extism_nif" -version = "0.2.0" +version = "0.3.0" edition = "2021" authors = ["Benjamin Eckel "] @@ -9,7 +9,10 @@ name = "extism_nif" path = "src/lib.rs" crate-type = ["cdylib"] +# need this to be here and be empty +[workspace] + [dependencies] rustler = "0.28.0" -extism = { version = "0.3.0", path = "../../../rust", package = "extism" } +extism = "0.3.0" log = "0.4"