]> git.proxmox.com Git - debcargo-conf.git/commitdiff
gif - add feature requirements for examples.
authorPeter Michael Green <plugwash@debian.org>
Mon, 18 Apr 2022 22:07:13 +0000 (22:07 +0000)
committerPeter Michael Green <plugwash@debian.org>
Mon, 18 Apr 2022 22:07:13 +0000 (22:07 +0000)
src/gif/debian/changelog
src/gif/debian/patches/example-feature-requirements.diff [new file with mode: 0644]
src/gif/debian/patches/series

index a3fda415dfe0c3c59d8583ca50808602d5397f8c..24eb544f26356071d36bf3fdaa4ade50cc1b47a5 100644 (file)
@@ -6,6 +6,7 @@ rust-gif (0.11.3-1) UNRELEASED-FIXME-AUTOGENERATED-DEBCARGO; urgency=medium
     testsuite can run.
   * Disable tests that depend on test data which is not included in the
     Debian package.
+  * Add feature requirements for examples.
 
  -- Peter Michael Green <plugwash@debian.org>  Mon, 18 Apr 2022 21:09:12 +0000
 
diff --git a/src/gif/debian/patches/example-feature-requirements.diff b/src/gif/debian/patches/example-feature-requirements.diff
new file mode 100644 (file)
index 0000000..405faae
--- /dev/null
@@ -0,0 +1,19 @@
+Index: gif/Cargo.toml
+===================================================================
+--- gif.orig/Cargo.toml
++++ gif/Cargo.toml
+@@ -28,6 +28,14 @@ autotests = false
+ name = "roundtrip"
+ required-features = ["std"]
++[[example]]
++name = "explode"
++required-features = ["std"]
++
++[[example]]
++name = "check"
++required-features = ["std"]
++
+ [dependencies.color_quant]
+ version = "1.0"
index e34d4c478a1eb2777f3bdec6832bf3e8dd2c47d4..37c5422c17c061131364162b8acc317bbb1860e2 100644 (file)
@@ -1,2 +1,3 @@
 disable-criterion.diff
 disable-tests-missing-testdata.diff
+example-feature-requirements.diff