diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-04 12:47:55 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-04 12:47:55 +0000 |
commit | 2aadc03ef15cb5ca5cc2af8a7c08e070742f0ac4 (patch) | |
tree | 033cc839730fda84ff08db877037977be94e5e3a /vendor/http-auth/debian/patches | |
parent | Initial commit. (diff) | |
download | cargo-2aadc03ef15cb5ca5cc2af8a7c08e070742f0ac4.tar.xz cargo-2aadc03ef15cb5ca5cc2af8a7c08e070742f0ac4.zip |
Adding upstream version 0.70.1+ds1.upstream/0.70.1+ds1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'vendor/http-auth/debian/patches')
-rw-r--r-- | vendor/http-auth/debian/patches/fix-tests-no-default.features.patch | 20 | ||||
-rw-r--r-- | vendor/http-auth/debian/patches/series | 1 |
2 files changed, 21 insertions, 0 deletions
diff --git a/vendor/http-auth/debian/patches/fix-tests-no-default.features.patch b/vendor/http-auth/debian/patches/fix-tests-no-default.features.patch new file mode 100644 index 0000000..55ee4c3 --- /dev/null +++ b/vendor/http-auth/debian/patches/fix-tests-no-default.features.patch @@ -0,0 +1,20 @@ +Index: http-auth/src/lib.rs +=================================================================== +--- http-auth.orig/src/lib.rs ++++ http-auth/src/lib.rs +@@ -625,6 +625,7 @@ impl<'i> std::fmt::Debug for ParamValue< + #[cfg(test)] + mod tests { + use crate::ParamValue; ++ #[cfg(feature = "digest-scheme")] + use crate::{C_ATTR, C_ESCAPABLE, C_OWS, C_QDTEXT, C_TCHAR}; + + /// Prints the character classes of all ASCII bytes from the table. +@@ -633,6 +634,7 @@ mod tests { + /// $ cargo test -- --nocapture tests::table + /// ``` + #[test] ++ #[cfg(feature = "digest-scheme")] + fn table() { + // Print the table to allow human inspection. + println!("oct dec hex char tchar qdtext escapable ows attr"); diff --git a/vendor/http-auth/debian/patches/series b/vendor/http-auth/debian/patches/series new file mode 100644 index 0000000..e047534 --- /dev/null +++ b/vendor/http-auth/debian/patches/series @@ -0,0 +1 @@ +fix-tests-no-default.features.patch |