Skip to content

Commit

Permalink
refactor: solve no-std build
Browse files Browse the repository at this point in the history
  • Loading branch information
Fumuran committed Apr 24, 2024
1 parent dbd0e71 commit 6c109f8
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions bench-tx/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,12 @@ exclude.workspace = true
[[bin]]
name = "bench-tx"
path = "src/main.rs"
required-features = ["std"]

[features]
std = ["miden-lib/std", "miden-objects/std", "miden-tx/std", "vm-processor/std", "mock/std", "serde_json/std"]

[dependencies]
miden-lib = { package = "miden-lib", path = "../miden-lib", version = "0.3", default-features = false }
miden-objects = { package = "miden-objects", path = "../objects", version = "0.3", default-features = false }
miden-tx = { package = "miden-tx", path = "../miden-tx", version = "0.3", default-features = false }
mock = { package = "miden-mock", path = "../mock", features = ["std"], default-features = false, optional = true }
miden-lib = { package = "miden-lib", path = "../miden-lib", version = "0.3" }
miden-objects = { package = "miden-objects", path = "../objects", version = "0.3" }
miden-tx = { package = "miden-tx", path = "../miden-tx", version = "0.3" }
mock = { package = "miden-mock", path = "../mock" }
serde = { package = "serde", version = "1.0" }
serde_json = { package = "serde_json", version = "1.0" }
vm-processor = { workspace = true }
vm-processor = { workspace = true, features = ["std"] }

0 comments on commit 6c109f8

Please sign in to comment.