Skip to content

Commit d6d37cb

Browse files
committed
fix: prevent panic when handling non YAML content
Using a new crate suggested by @jcrossley3
1 parent 6316078 commit d6d37cb

File tree

2 files changed

+10
-22
lines changed

2 files changed

+10
-22
lines changed

Cargo.lock

Lines changed: 9 additions & 21 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ serde = "1.0.183"
117117
serde-cyclonedx = "0.9.1"
118118
serde_json = "1.0.114"
119119
serde_with = "3.11.0"
120-
serde_yml = "0.0.12"
120+
serde_yml = { package = "serde_yaml_ng", version = "0.10" }
121121
sha2 = "0.10.8"
122122
spdx = "0.10.6"
123123
spdx-expression = "0.5.2"

0 commit comments

Comments
 (0)