Making caching support optional in Wasmtime (#2119)
This commit moves all of the caching support that currently lives in `wasmtime-environ` into a `wasmtime-cache` crate and makes it optional. The goal here is to slim down the `wasmtime-environ` crate and clearly separate boundaries where caching is a standalone and optional feature, not intertwined with other crates.
This commit is contained in:
@@ -22,7 +22,8 @@ doc = false
|
||||
|
||||
[dependencies]
|
||||
# Enable all supported architectures by default.
|
||||
wasmtime = { path = "crates/wasmtime", version = "0.19.0", default-features = false }
|
||||
wasmtime = { path = "crates/wasmtime", version = "0.19.0", default-features = false, features = ['cache'] }
|
||||
wasmtime-cache = { path = "crates/cache", version = "0.19.0" }
|
||||
wasmtime-debug = { path = "crates/debug", version = "0.19.0" }
|
||||
wasmtime-environ = { path = "crates/environ", version = "0.19.0" }
|
||||
wasmtime-jit = { path = "crates/jit", version = "0.19.0" }
|
||||
|
||||
Reference in New Issue
Block a user