Skip to content

Commit

Permalink
change features
Browse files Browse the repository at this point in the history
  • Loading branch information
xxchan committed May 15, 2023
1 parent f2f55e8 commit 8f7b787
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
6 changes: 3 additions & 3 deletions crates/fluvio-smartengine/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ description = "The official Fluvio SmartEngine"
engine = []
wasi = ["wasmtime-wasi", "wasmtime-engine", "engine"]
transformation = ["serde_json", "serde_yaml"]
default = ["engine"]
wasmtime-engine = ["wasmtime"]
wasmedge-engine = ["wasmedge-sdk"]
default = ["wasmtime-engine"]
wasmtime-engine = ["engine", "wasmtime"]
wasmedge-engine = ["engine", "wasmedge-sdk"]

[dependencies]
tracing ={ workspace = true }
Expand Down
1 change: 0 additions & 1 deletion crates/fluvio-smartengine/src/engine/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,6 @@ impl SmartModuleChainInstance {
}

cfg_if::cfg_if! {
// TODO: turn on this check when ready
if #[cfg(all(feature = "wasmedge-engine", feature = "wasmtime-engine"))] {
compile_error!(
"Only one WASM runtime is allowed, but both `wasmedge-engine` and `wasmtime-engine` features are enabled"
Expand Down

0 comments on commit 8f7b787

Please sign in to comment.