Skip to content

Commit

Permalink
chore(deps): bump serde_yaml from 0.8.26 to 0.9.4 (#13812)
Browse files Browse the repository at this point in the history
* chore(deps): bump serde_yaml from 0.8.26 to 0.9.4

Bumps [serde_yaml](https://github.com/dtolnay/serde-yaml) from 0.8.26 to 0.9.4.
- [Release notes](https://github.com/dtolnay/serde-yaml/releases)
- [Commits](dtolnay/serde-yaml@0.8.26...0.9.4)

---
updated-dependencies:
- dependency-name: serde_yaml
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* address changes in serde_yaml

* smol change to trigger CI

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Toby Lawrence <[email protected]>
  • Loading branch information
dependabot[bot] and tobz authored Aug 25, 2022
1 parent 19b3d89 commit 553763f
Show file tree
Hide file tree
Showing 5 changed files with 29 additions and 10 deletions.
27 changes: 23 additions & 4 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ serde-toml-merge = { version = "0.3.0", default-features = false }
serde_bytes = { version = "0.11.7", default-features = false, features = ["std"], optional = true }
serde_json = { version = "1.0.85", default-features = false, features = ["raw_value"] }
serde_with = { version = "2.0.0", default-features = false, features = ["macros", "std"], optional = true }
serde_yaml = { version = "0.8.26", default-features = false }
serde_yaml = { version = "0.9.4", default-features = false }

# Messagepack
rmp-serde = { version = "1.1.0", default-features = false, optional = true }
Expand Down
2 changes: 1 addition & 1 deletion lib/vector-buffers/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ once_cell = "1.13"
proptest = "1.0"
quickcheck = "1.0"
rand = "0.8.5"
serde_yaml = { version = "0.8", default-features = false }
serde_yaml = { version = "0.9", default-features = false }
temp-dir = "0.1.11"
tokio-test = "0.4.2"
tracing-fluent-assertions = { version = "0.3" }
Expand Down
4 changes: 2 additions & 2 deletions lib/vector-buffers/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,7 @@ mod test {
let error = serde_yaml::from_str::<BufferConfig>(source).unwrap_err();
assert_eq!(
error.to_string(),
"unknown field `foo`, expected one of `type`, `max_events`, `max_size`, `when_full` at line 1 column 4"
"unknown field `foo`, expected one of `type`, `max_events`, `max_size`, `when_full`"
);
}

Expand All @@ -401,7 +401,7 @@ max_events: 42
let error = serde_yaml::from_str::<BufferConfig>(source).unwrap_err();
assert_eq!(
error.to_string(),
"unknown field `max_size`, expected one of `type`, `max_events`, `when_full` at line 1 column 9"
"unknown field `max_size`, expected one of `type`, `max_events`, `when_full`"
);
}

Expand Down
4 changes: 2 additions & 2 deletions src/config/format.rs
Original file line number Diff line number Diff line change
Expand Up @@ -154,12 +154,12 @@ mod tests {
"#;

let cases = vec![
// Valid empty inputs should resolve to default.
// Valid empty inputs should resolve to an empty, default value.
("", Format::Toml, Ok("")),
("{}", Format::Yaml, Ok("")),
("{}", Format::Json, Ok("")),
("", Format::Yaml, Ok("")),
// Invalid "empty" inputs should resolve to an error.
("", Format::Yaml, Err(vec!["EOF while parsing a value"])),
(
"",
Format::Json,
Expand Down

0 comments on commit 553763f

Please sign in to comment.