[package]
name = "fuel-core-upgradable-executor"
version = { workspace = true }
authors = { workspace = true }
edition = { workspace = true }
homepage = { workspace = true }
keywords = ["blockchain", "fuel", "fuel-vm", "upgradable"]
license = { workspace = true }
repository = { workspace = true }
description = "Fuel Block Upgradable Executor"
build = "build.rs"
[dependencies]
anyhow = { workspace = true, optional = true }
derive_more = { workspace = true, optional = true }
fuel-core-executor = { workspace = true }
fuel-core-storage = { workspace = true, features = ["std"] }
fuel-core-types = { workspace = true, features = ["std"] }
fuel-core-wasm-executor = { workspace = true, features = [
"std",
], optional = true }
parking_lot = { workspace = true, optional = true }
postcard = { workspace = true, optional = true }
tracing = { workspace = true, optional = true }
wasmtime = { version = "23.0.2", default-features = false, features = [
"cache",
"cranelift",
"parallel-compilation",
"pooling-allocator",
"runtime",
], optional = true }
[dev-dependencies]
anyhow = { workspace = true }
fuel-core-storage = { workspace = true, features = ["test-helpers"] }
fuel-core-types = { workspace = true, features = ["test-helpers"] }
ntest = "0.9.2"
[build-dependencies]
fuel-core-wasm-executor = { workspace = true, optional = true, default-features = false }
[features]
default = ["std"]
std = ["fuel-core-executor/std", "fuel-core-storage/std", "fuel-core-types/std"]
smt = [
"fuel-core-storage/smt",
"fuel-core-executor/smt",
"fuel-core-wasm-executor?/smt",
]
wasm-executor = [
"dep:anyhow",
"dep:derive_more",
"dep:parking_lot",
"dep:postcard",
"dep:tracing",
"dep:fuel-core-wasm-executor",
"dep:wasmtime",
]
test-helpers = [
"fuel-core-storage/test-helpers",
"fuel-core-types/test-helpers",
]