Skip to content

Commit c4b25ec

Browse files
authored
Merge pull request #26 from viniarck/rel/v0.2.0
Bumped v0.2.0
2 parents 79ca547 + 8a2ca59 commit c4b25ec

File tree

4 files changed

+9
-6
lines changed

4 files changed

+9
-6
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ You can add `wasmtime` to your list of dependencies in `mix.exs`:
2525
```elixir
2626
def deps do
2727
[
28-
{:wasmtime, "~> 0.1.0"}
28+
{:wasmtime, "~> 0.2.0"}
2929
]
3030
end
3131
```
@@ -58,7 +58,7 @@ mod = ~S/
5858
{:ok, [200]} = Wasmtime.call_func(pid, "run", [180])
5959
```
6060

61-
This next example loads a Wasm module from this [wasmapp_bg.wasm file](./test/data/wasmapp) that's been built with [wasm-pack](https://github.com/rustwasm/wasm-pack):
61+
This next example loads a Wasm module from this [Rust lib.rs file](./test/data/wasmapp/src/lib.rs) that's been built with [wasm-pack](https://github.com/rustwasm/wasm-pack):
6262

6363
```
6464
{:ok, pid} = Wasmtime.load(%Wasmtime.FromFile{file_path: "test/data/wasmapp/wasmapp_bg.wasm"})

mix.exs

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ defmodule Wasmtime.MixProject do
44
def project do
55
[
66
app: :wasmtime,
7-
version: "0.1.0",
7+
version: "0.2.0",
88
elixir: "~> 1.10",
99
start_permanent: Mix.env() == :prod,
1010
compilers: [:rustler] ++ Mix.compilers(),
@@ -57,7 +57,10 @@ defmodule Wasmtime.MixProject do
5757
~w(lib native/wasmtime_ex/src native/wasmtime_ex/Cargo* native/wasmtime_ex/.cargo .formatter.exs mix.exs README* LICENSE*
5858
),
5959
licenses: ["Apache-2.0"],
60-
links: %{"GitHub" => "https://github.com/viniarck/wasmtime-ex"}
60+
links: %{
61+
"GitHub" => "https://github.com/viniarck/wasmtime-ex",
62+
"Docs" => "https://hexdocs.pm/wasmtime"
63+
}
6164
]
6265
end
6366
end

native/wasmtime_ex/Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

native/wasmtime_ex/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "wasmtime_ex"
3-
version = "0.1.0"
3+
version = "0.2.0"
44
authors = []
55
edition = "2018"
66

0 commit comments

Comments
 (0)