File: 2001_disable_doctest.patch

package info (click to toggle)
rust-oxhttp 0.3.1-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 312 kB
  • sloc: makefile: 12; sh: 1
file content (17 lines) | stat: -rw-r--r-- 467 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Description: disable doctest
 A few documentation examples require network access to test,
 which is forbidden in strict test checking environments.
Author: Jonas Smedegaard <dr@jones.dk>
Forwarded: not-needed
Last-Update: 2023-08-14
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -45,3 +45,6 @@
 [package.metadata.docs.rs]
 all-features = true
 rustdoc-args = ["--cfg", "docsrs"]
+
+[lib]
+doctest = false