Skip to content

Commit

Permalink
Compile plotters dep only if plot feature is enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
fkettelhoit committed Dec 10, 2024
1 parent 784a001 commit 81e8eaf
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 @@ -23,12 +23,12 @@ required-features = ["bin"]
[dependencies]
clap = { version = "4.5.17", features = ["derive"], optional = true }
serde = { version = "1.0", features = ["derive"], optional = true }
plotters = { version = "0.3.7", optional = true }

[features]
bin = ["clap"]
plot = []
plot = ["plotters"]

[dev-dependencies]
quickcheck = "1"
quickcheck_macros = "1"
plotters = "0.3.7"

0 comments on commit 81e8eaf

Please sign in to comment.