Rename wasmtime-api to wasmtime.

This commit is contained in:
Dan Gohman
2019-11-08 06:41:07 -08:00
parent 22641de629
commit d9ca508f80
9 changed files with 16 additions and 14 deletions

View File

@@ -28,9 +28,11 @@ We will be using the wasmtime engine/API to run the wasm file, so we will add th
```
[dependencies]
wasmtime-api = { git = "https://github.com/CraneStation/wasmtime" }
wasmtime = "<current version>"
```
where "<current version>" is the current version number of the `wasmtime` crate.
It is time to add code to the `src/main.rs`. First, the engine and storage need to be activated:
```rust