From e4f33550380e57390c0baee975cd5d5c20be41ba Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 20 Jul 2023 17:14:10 +0000 Subject: [PATCH 1/2] Update rust-ini requirement from 0.18 to 0.19 Updates the requirements on [rust-ini](https://github.com/zonyitoo/rust-ini) to permit the latest version. - [Release notes](https://github.com/zonyitoo/rust-ini/releases) - [Commits](https://github.com/zonyitoo/rust-ini/compare/v0.18.0...v0.19.0) --- updated-dependencies: - dependency-name: rust-ini dependency-type: direct:production ... Signed-off-by: dependabot[bot] --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 91b69c46..9ef24bc5 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -33,7 +33,7 @@ async-trait = { version = "0.1.50", optional = true } toml = { version = "0.7", optional = true } serde_json = { version = "1.0.2", optional = true } yaml-rust = { version = "0.4", optional = true } -rust-ini = { version = "0.18", optional = true } +rust-ini = { version = "0.19", optional = true } ron = { version = "0.8", optional = true } json5_rs = { version = "0.4", optional = true, package = "json5" } indexmap = { version = "2.0.0", features = ["serde"], optional = true } From e8fd988a7ec39d0a7c60a6300b34865bbccec4a0 Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Thu, 20 Jul 2023 19:33:54 +0200 Subject: [PATCH 2/2] Fix test for fixed error message in rust-ini In https://github.com/zonyitoo/rust-ini/pull/95 the reported line and column was fixed in rust-ini. This patch adapts for this change. Signed-off-by: Matthias Beyer --- tests/file_ini.rs | 2 +- tests/legacy/file_ini.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/file_ini.rs b/tests/file_ini.rs index e7f369a4..7561bff5 100644 --- a/tests/file_ini.rs +++ b/tests/file_ini.rs @@ -61,7 +61,7 @@ fn test_error_parse() { assert_eq!( res.unwrap_err().to_string(), format!( - r#"2:0 expecting "[Some('='), Some(':')]" but found EOF. in {}"#, + r#"3:1 expecting "[Some('='), Some(':')]" but found EOF. in {}"#, path.display() ) ); diff --git a/tests/legacy/file_ini.rs b/tests/legacy/file_ini.rs index 5cbf63d4..c330ef2d 100644 --- a/tests/legacy/file_ini.rs +++ b/tests/legacy/file_ini.rs @@ -59,7 +59,7 @@ fn test_error_parse() { assert_eq!( res.unwrap_err().to_string(), format!( - r#"2:0 expecting "[Some('='), Some(':')]" but found EOF. in {}"#, + r#"3:1 expecting "[Some('='), Some(':')]" but found EOF. in {}"#, path.display() ) );