Skip to content

Commit 9ee5090

Browse files
authored
Merge pull request #107 from nickelc/toml0.5
update toml to v0.5 & serde-hjson to v0.9
2 parents 834480a + f01ab31 commit 9ee5090

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@ lazy_static = "1.0"
2525
serde = "1.0.8"
2626
nom = "4.0.0"
2727

28-
toml = { version = "0.4.1", optional = true }
28+
toml = { version = "0.5", optional = true }
2929
serde_json = { version = "1.0.2", optional = true }
3030
yaml-rust = { version = "0.4", optional = true }
31-
serde-hjson = { version = "0.8.2", optional = true }
31+
serde-hjson = { version = "0.9", optional = true }
3232
rust-ini = { version = "0.13", optional = true }
3333

3434
[dev-dependencies]

tests/errors.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ fn test_error_parse() {
2323
assert!(res.is_err());
2424
assert_eq!(
2525
res.unwrap_err().to_string(),
26-
"invalid number at line 2 in tests/Settings-invalid.toml".to_string()
26+
"failed to parse datetime for key `error` in tests/Settings-invalid.toml".to_string()
2727
);
2828
}
2929

tests/file_toml.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,6 @@ fn test_error_parse() {
8282
assert!(res.is_err());
8383
assert_eq!(
8484
res.unwrap_err().to_string(),
85-
"invalid number at line 2 in tests/Settings-invalid.toml".to_string()
85+
"failed to parse datetime for key `error` in tests/Settings-invalid.toml".to_string()
8686
);
8787
}

0 commit comments

Comments
 (0)