Description: Disable tests depending on does-it-json
 tests::test_json uses does-it-json to verify if +schemars is enabled, but it's
 not packaged.
Last-Update: 2023-10-01
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
Index: ipnetwork/tests/test_json.rs
===================================================================
--- ipnetwork.orig/tests/test_json.rs
+++ ipnetwork/tests/test_json.rs
@@ -23,10 +23,10 @@ mod tests {
 
         assert_eq!(::serde_json::to_string(&mystruct).unwrap(), json_string);
 
-        #[cfg(feature = "schemars")]
+        /*#[cfg(feature = "schemars")]
         if let Err(s) = does_it_json::validate_with_output(&mystruct) {
             panic!("{}", s);
-        }
+        }*/
     }
 
     #[test]
@@ -49,10 +49,10 @@ mod tests {
 
         assert_eq!(::serde_json::to_string(&mystruct).unwrap(), json_string);
 
-        #[cfg(feature = "schemars")]
+        /*#[cfg(feature = "schemars")]
         if let Err(s) = does_it_json::validate_with_output(&mystruct) {
             panic!("{}", s);
-        }
+        }*/
     }
 
     #[test]
@@ -77,10 +77,10 @@ mod tests {
 
         assert_eq!(::serde_json::to_string(&mystruct).unwrap(), json_string);
 
-        #[cfg(feature = "schemars")]
+        /*#[cfg(feature = "schemars")]
         if let Err(s) = does_it_json::validate_with_output(&mystruct) {
             panic!("{}", s);
-        }
+        }*/
     }
 
 
Index: ipnetwork/Cargo.toml
===================================================================
--- ipnetwork.orig/Cargo.toml
+++ ipnetwork/Cargo.toml
@@ -63,8 +63,8 @@ optional = true
 version = "0.5.1"
 features = ["html_reports"]
 
-[dev-dependencies.does-it-json]
-version = "0.0.4"
+#[dev-dependencies.does-it-json]
+#version = "0.0.4"
 
 [dev-dependencies.serde_json]
 version = "1.0.116"
