Skip to content

Commit

Permalink
Use caching in embedded executor
Browse files Browse the repository at this point in the history
  • Loading branch information
ark0f committed Oct 3, 2024
1 parent 10286e0 commit f3dd95d
Show file tree
Hide file tree
Showing 8 changed files with 171 additions and 108 deletions.
131 changes: 79 additions & 52 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,7 @@ wasmer-cache = "4.3.4"
wasmer-types = "4.3.4"
wasmer-vm = "4.3.4"
wasmer-compiler = "4.3.4"
gear-wasmer-cache = { path = "utils/gear-wasmer-cache" }
wasmtime = "8.0.1"
wasmparser = { package = "wasmparser-nostd", version = "0.100.1", default-features = false }
which = "4.4.2"
Expand Down
8 changes: 4 additions & 4 deletions sandbox/host/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ sandbox-wasmi.workspace = true
sp-allocator = { workspace = true, features = ["std"] }
sp-wasm-interface-common = { workspace = true, features = ["std"] }
gear-sandbox-env = { workspace = true, features = ["std"] }
wasmer-cache = { workspace = true, optional = true }
tempfile.workspace = true
uluru = { workspace = true, optional = true }
gear-wasmer-cache = { workspace = true, optional = true }
tempfile = { workspace = true, optional = true }

[features]
default = ["wasmer-cache", "uluru"]
default = ["wasmer-cache"]
wasmer-cache = ["gear-wasmer-cache", "tempfile"]
Loading

0 comments on commit f3dd95d

Please sign in to comment.