diff options
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 |