File: 2003_toml.patch

package info (click to toggle)
rust-human-panic 2.0.4-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 300 kB
  • sloc: makefile: 15; sh: 1
file content (44 lines) | stat: -rw-r--r-- 1,389 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
Description: use older minor version of crate toml
 This essentially reverts upstream git commit 66288db.
Author: Jonas Smedegaard <dr@jones.dk>
Bug-Debian: https://bugs.debian.org/1111762
Forwarded: not-needed
Last-Update: 2025-03-11
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -125,7 +125,7 @@
 anstream = { version = "0.6.7", optional = true }
 uuid = { version = "1.3.0", features = ["v4"], default-features = false }
 serde_derive = "1.0.152"
-toml = { version = "0.9.0", default-features = false, features = ["display", "serde"] }
+toml = { version = "0.8.8", default-features = false, features = ["display"] }
 serde = "1.0.152"
 os_info = "3.6.0"
 backtrace = "0.3.69"
--- a/tests/single-panic/tests/integration.rs
+++ b/tests/single-panic/tests/integration.rs
@@ -46,15 +46,15 @@
         snapbox::assert_data_eq!(
             report,
             snapbox::str![[r#"
-name = "single-panic-test"
-operating_system = "[..]"
-crate_version = "0.1.0"
-explanation = """
+"name" = "single-panic-test"
+"operating_system" = "[..]"
+"crate_version" = "0.1.0"
+"explanation" = """
 Panic occurred in file 'tests/single-panic/src/main.rs' at line [..]
 """
-cause = "OMG EVERYTHING IS ON FIRE!!!"
-method = "Panic"
-backtrace = """
+"cause" = "OMG EVERYTHING IS ON FIRE!!!"
+"method" = "Panic"
+"backtrace" = """
 ...
 """