Skip to content

Commit

Permalink
gate target dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
lightsing committed Jan 16, 2025
1 parent 21d9e3b commit 59998bf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crates/precompile/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ p256 = { version = "0.13.2", optional = true, default-features = false, features
cfg-if = { version = "1.0", default-features = false }

# Optionally use openvm intrinsics
[target.'cfg(all(target_os = "zkvm", not(target_vendor = "succinct")))'.dependencies]
openvm.workspace = true
openvm-ecc-guest = { workspace = true, features = ["k256"] }
openvm-keccak256-guest.workspace = true
Expand Down

0 comments on commit 59998bf

Please sign in to comment.