Skip to content

Commit

Permalink
Make termcolor dependency optional (#2014)
Browse files Browse the repository at this point in the history
  • Loading branch information
AldaronLau authored Jul 23, 2022
1 parent cc98539 commit a005821
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@ serialize = ["serde", "indexmap/serde-1"]
deserialize = ["serde", "indexmap/serde-1"]
spv-in = ["petgraph", "spirv"]
spv-out = ["spirv"]
wgsl-in = ["codespan-reporting", "hexf-parse", "unicode-xid"]
wgsl-in = ["codespan-reporting", "hexf-parse", "termcolor", "unicode-xid"]
wgsl-out = []
hlsl-out = []
span = ["codespan-reporting"]
span = ["codespan-reporting", "termcolor"]
validate = []

[[bench]]
Expand All @@ -46,7 +46,7 @@ harness = false
arbitrary = { version = "1.0.2", features = ["derive"], optional = true }
bitflags = "1.0.5"
bit-set = "0.5"
termcolor = "1.0.4"
termcolor = { version = "1.0.4", optional = true }
# remove termcolor dep when updating to the next version of codespan-reporting
# termcolor minimum version was wrong and was fixed in
# https://github.com/brendanzab/codespan/commit/e99c867339a877731437e7ee6a903a3d03b5439e
Expand Down

0 comments on commit a005821

Please sign in to comment.