diff --git a/bytecode/Cargo.toml b/bytecode/Cargo.toml index 95c0c1e5..5a91021b 100644 --- a/bytecode/Cargo.toml +++ b/bytecode/Cargo.toml @@ -5,6 +5,6 @@ edition = "2018" [features] default = ["disasm"] -std = [] -disasm = ["std"] +disasm = ["alloc"] +alloc = [] diff --git a/vm/Cargo.toml b/vm/Cargo.toml index bc63d306..776f074c 100644 --- a/vm/Cargo.toml +++ b/vm/Cargo.toml @@ -3,10 +3,12 @@ name = "hbvm" version = "0.1.0" edition = "2021" +[dependencies] +hbbytecode = { workspace = true } + [features] default = ["alloc"] +disasm = ["hbbytecode/disasm", "alloc"] alloc = [] nightly = [] -[dependencies] -hbbytecode = { workspace = true }