Skip to content

Commit

Permalink
fix: build yaml-rust only when yaml feature is enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
aminya committed Nov 27, 2023
1 parent 774e6c5 commit f485819
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ keywords = ["DAG", "task", "async", "parallel", "concurrent"]
members = ["derive", "."]

[dependencies]
yaml-rust = "0.4.5"
yaml-rust = { version = "0.4.5", optional = true }
bimap = "0.6.1"
clap = { version = "4.2.2", features = ["derive"] }
anymap2 = "0.13.0"
Expand All @@ -28,7 +28,7 @@ simplelog = "0.12"
criterion = { version = "0.5.1", features = ["html_reports"] }

[features]
yaml = []
yaml = ["dep:yaml-rust"]
derive = ["derive/derive"]

[[bin]]
Expand Down

0 comments on commit f485819

Please sign in to comment.