From c2d94bb44c8539a8fee5ea1404bb107ddb3db8d6 Mon Sep 17 00:00:00 2001 From: Xinzhao Xu Date: Mon, 20 May 2024 17:15:20 +0800 Subject: [PATCH] Fix the problem of docs.rs build failure --- src/lib.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/lib.rs b/src/lib.rs index dc653ac..5f1c8f5 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,3 +1,5 @@ +#![cfg_attr(docsrs, feature(doc_cfg))] + //! # wasi-http-client //! //! `wasi_http_client` is an HTTP client library for [WASI Preview 2](https://github.com/WebAssembly/WASI/tree/main/preview2),