Skip to content

Commit

Permalink
[review] add sim dependencies only when sim flag is enabled.
Browse files Browse the repository at this point in the history
  • Loading branch information
akichidis committed Jan 22, 2025
1 parent 86f6204 commit 66033b5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion consensus/core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ strum_macros.workspace = true
sui-config.workspace = true
sui-macros.workspace = true
sui-protocol-config.workspace = true
sui-simulator.workspace = true
sui-tls.workspace = true
tap.workspace = true
thiserror.workspace = true
Expand All @@ -63,6 +62,9 @@ tempfile.workspace = true
rstest.workspace = true
telemetry-subscribers.workspace = true

[target.'cfg(msim)'.dependencies]
sui-simulator.workspace = true

[build-dependencies]
anemo-build.workspace = true
tonic-build.workspace = true

0 comments on commit 66033b5

Please sign in to comment.