Move crates/api to crates/wasmtime (#1693)

The `wasmtime` crate currently lives in `crates/api` for historical
reasons, because we once called it `wasmtime-api` crate. This creates a
stumbling block for new contributors.

As discussed on Zulip, rename the directory to `crates/wasmtime`.
This commit is contained in:
Josh Triplett
2020-05-13 14:04:31 -07:00
committed by GitHub
parent f5eab5225f
commit 08983bf39c
34 changed files with 14 additions and 14 deletions

View File

@@ -19,7 +19,7 @@ doctest = false
[dependencies]
anyhow = "1.0"
once_cell = "1.3"
wasmtime = { path = "../api", default-features = false }
wasmtime = { path = "../wasmtime", default-features = false }
wasmtime-c-api-macros = { path = "macros" }
# Optional dependency for the `wat2wasm` API

View File

@@ -15,7 +15,7 @@ log = "0.4.8"
rayon = "1.2.1"
wasmparser = "0.52.0"
wasmprinter = "0.2.1"
wasmtime = { path = "../api" }
wasmtime = { path = "../wasmtime" }
wasmtime-wast = { path = "../wast" }
[dev-dependencies]

View File

@@ -17,7 +17,7 @@ doctest = false
[dependencies]
wasmtime-rust-macro = { path = "./macro", version = "0.16.0" }
wasmtime-wasi = { path = "../../wasi", version = "0.16.0" }
wasmtime = { path = "../../api", version = "0.16.0" }
wasmtime = { path = "../../wasmtime", version = "0.16.0" }
anyhow = "1.0.19"
[badges]

View File

@@ -12,7 +12,7 @@ cfg-if = "0.1.9"
[dev-dependencies]
wasi-common = { path = "../wasi-common", version = "0.16.0" }
wasmtime-wasi = { path = "../wasi", version = "0.16.0" }
wasmtime = { path = "../api", version = "0.16.0" }
wasmtime = { path = "../wasmtime", version = "0.16.0" }
target-lexicon = "0.10.0"
pretty_env_logger = "0.4.0"
tempfile = "3.1.0"

View File

@@ -15,7 +15,7 @@ edition = "2018"
anyhow = "1.0"
log = { version = "0.4.8", default-features = false }
wasi-common = { path = "../wasi-common", version = "0.16.0" }
wasmtime = { path = "../api", version = "0.16.0", default-features = false }
wasmtime = { path = "../wasmtime", version = "0.16.0", default-features = false }
wasmtime-runtime = { path = "../runtime", version = "0.16.0" }
wig = { path = "../wasi-common/wig", version = "0.16.0" }
wiggle = { path = "../wiggle", version = "0.16.0" }

View File

@@ -12,7 +12,7 @@ edition = "2018"
[dependencies]
anyhow = "1.0.19"
wasmtime = { path = "../api", version = "0.16.0", default-features = false }
wasmtime = { path = "../wasmtime", version = "0.16.0", default-features = false }
wast = "15.0.0"
[badges]