build: make enarx-exec-wasmtime dep non-optional
@@ -16,7 +16,7 @@ default = ["backend-kvm", "backend-sev", "backend-sgx", "backend-nil"]
backend-kvm = ["dep:const-default", "dep:iocuddle", "dep:kvm-bindings", "dep:kvm-ioctls", "dep:lset", "dep:rand", "dep:x86_64", "load-binary"]
backend-sev = ["dep:ureq", "dep:nbytes", "backend-kvm"]
backend-sgx = ["dep:iocuddle", "dep:protobuf", "dep:sgx", "dep:ureq", "dep:vdso", "dep:x86_64", "load-binary"]
-backend-nil = ["dep:enarx-exec-wasmtime"]
+backend-nil = []
load-binary = ["dep:goblin", "dep:mmarinus", "dep:primordial", "dep:sallyport", "dep:semver", "dep:static_assertions"]
# non-default features
@@ -31,6 +31,7 @@ bitflags = { version = "1.2", default-features = false }
clap = { version = "3.1", features = ["env", "derive", "std"], default-features = false }
colorful = { version = "0.2", default-features = false }
dirs = { version = "4.0", default-features = false }
+enarx-exec-wasmtime = { version = "0.4.0", path = "crates/exec-wasmtime", default-features = false }
env_logger = { version = "0.9", default-features = false }
libc = { version = "0.2", default-features = false }
log = { version = "0.4", default-features = false }
@@ -40,7 +41,6 @@ serde_json = { version = "1.0.79", features = ["std"], default-features = false
# optional dependencies
const-default = { version = "1.0", optional = true, features = ["derive"], default-features = false }
-enarx-exec-wasmtime = { version = "0.4.0", path = "crates/exec-wasmtime", optional = true, default-features = false }
gdbstub = { version = "0.5.0", optional = true, features = ["std"], default-features = false }
goblin = { version = "0.5", optional = true, features = ["elf64", "elf32", "std", "endian_fd"], default-features = false }
iocuddle = { version = "0.1.1", optional = true, default-features = false }
