parent
f0768f645c
commit
ce353a5ae0
@ -0,0 +1,25 @@
|
||||
From 2c0498c888d111ed23e19673d180ddab448e81b1 Mon Sep 17 00:00:00 2001
|
||||
From: Fabio Valentini <decathorpe@gmail.com>
|
||||
Date: Tue, 21 May 2024 16:25:06 +0200
|
||||
Subject: [PATCH] drop deny(warnings) from doctests
|
||||
|
||||
---
|
||||
src/lib.rs | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/src/lib.rs b/src/lib.rs
|
||||
index 86786e8..51d71ed 100644
|
||||
--- a/src/lib.rs
|
||||
+++ b/src/lib.rs
|
||||
@@ -280,7 +280,7 @@
|
||||
#![cfg_attr(feature = "docs", feature(doc_cfg))]
|
||||
#![warn(missing_docs, missing_debug_implementations, rust_2018_idioms)]
|
||||
#![allow(clippy::mutex_atomic, clippy::module_inception)]
|
||||
-#![doc(test(attr(deny(rust_2018_idioms, warnings))))]
|
||||
+#![doc(test(attr(deny(rust_2018_idioms))))]
|
||||
#![doc(test(attr(allow(unused_extern_crates, unused_variables))))]
|
||||
#![doc(html_logo_url = "https://async.rs/images/logo--hero.svg")]
|
||||
|
||||
--
|
||||
2.45.1
|
||||
|
@ -0,0 +1,18 @@
|
||||
[package]
|
||||
cargo-toml-patch-comments = [
|
||||
"drop windows-specific dependencies and features",
|
||||
"drop WASM-specific dependencies and features",
|
||||
"drop tokio v0.2 and v0.3 features",
|
||||
"drop optional surf dependency",
|
||||
]
|
||||
|
||||
[scripts]
|
||||
prep.post = [
|
||||
"# remove example that depends on the optional surf dependency",
|
||||
"rm examples/surf-web.rs",
|
||||
]
|
||||
|
||||
[tests]
|
||||
skip = ["io_timeout_timedout"]
|
||||
comments = ["skip one failing test (probably related to mock environment)"]
|
||||
|
Loading…
Reference in new issue