File: quick-xml-0.38.diff

package info (click to toggle)
rust-reqsign 0.16.5-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,048 kB
  • sloc: makefile: 2
file content (39 lines) | stat: -rw-r--r-- 1,225 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
This patch is based on the upstream commit described below, adapted for use
in the Debian package by Peter Michael Green.

commit cde7c196f59d36757a3cc0c587f0833b44777087
Author: tison <wander4096@gmail.com>
Date:   Thu Aug 14 18:29:53 2025 +0800

    chore: upgrade and tidy dependencies (#588)
    
    cc @Xuanwo
    
    ---------
    
    Signed-off-by: tison <wander4096@gmail.com>

Index: reqsign/src/aws/credential.rs
===================================================================
--- reqsign.orig/src/aws/credential.rs
+++ reqsign/src/aws/credential.rs
@@ -1033,7 +1033,7 @@ mod tests {
             "wJalrXUtnFEMI/K7MDENG/bPxRfiCYzEXAMPLEKEY"
         );
         assert_eq!(
-            &resp.result.credentials.session_token,
+            resp.result.credentials.session_token.trim(),
             "AQoDYXdzEPT//////////wEXAMPLEtc764bNrC9SAPBSM22wDOk4x4HIZ8j4FZTwdQW
        LWsKWHGBuFqwAeMicRXmxfpSPfIeoIYRqTflfKD8YUuwthAx7mSEI/qkPpKPi/kMcGd
        QrmGdeehM4IC1NtBmUpp2wUE8phUZampKsburEDy0KPkyQDYwT7WZ0wq5VSXDvp75YU
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -69,7 +69,7 @@
 version = "2"
 
 [dependencies.quick-xml]
-version = "0.37"
+version = ">= 0.36.1, < 1.0"
 features = ["serialize"]
 optional = true