Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump serde_yaml to 0.9 #23

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## 0.3.1 [2022-08-09]

* Bump `serde_yaml` to 0.9

## 0.3.0 [2021-07-07]

* [BUG]: Fix issue with tabs. Tabs will now be replaced by a single space. That
Expand Down
90 changes: 52 additions & 38 deletions Cargo.lock

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

4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "format_serde_error"
version = "0.3.0"
version = "0.3.1"

authors = ["Alexander Thaller <alexander.thaller@trivago.com>"]
description = "Serde error messages for humans."
Expand All @@ -27,7 +27,7 @@ graphemes_support = ["unicode-segmentation"]
colored = { version = "2", optional = true }
serde_json = { version = "1", optional = true }
serde = { version = "1", features = ["derive"] }
serde_yaml = { version = "0.8", optional = true }
serde_yaml = { version = "0.9", optional = true }
unicode-segmentation = { version = "1", optional = true }
toml = { version = "0.5", optional = true }

Expand Down
4 changes: 2 additions & 2 deletions src/test/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ mod yaml {
super::init();

let input = "";
let expected = format!("{}\n", "EOF while parsing a value".red().bold());
let expected = format!("{}\n", "missing field `values`".red().bold());
let got = run_yaml(input)?;

print!("expected:{}", expected);
Expand Down Expand Up @@ -161,7 +161,7 @@ mod yaml {
expected.push_str(&format!(
" {}{}\n",
separator,
" ^ values[112]: invalid type: map, expected a string at line 114 column 12"
" ^ values[112]: invalid type: map, expected a string at line 114 column 5"
.red()
.bold()
));
Expand Down