From 0225ebadf9c64e5a19942532b2c821171ee8871c Mon Sep 17 00:00:00 2001 From: Jonas Platte Date: Thu, 28 Jul 2022 14:28:39 +0200 Subject: [PATCH] Fix some intra-doc links not resolving correctly on docs.rs --- axum/Cargo.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/axum/Cargo.toml b/axum/Cargo.toml index 4a0f88a83c2..3817f0796cb 100644 --- a/axum/Cargo.toml +++ b/axum/Cargo.toml @@ -24,6 +24,9 @@ query = ["serde_urlencoded"] tower-log = ["tower/log"] ws = ["tokio-tungstenite", "sha-1", "base64"] +# Required for intra-doc links to resolve correctly +__private_docs = ["tower/full", "tower-http/full"] + [dependencies] async-trait = "0.1.43" axum-core = { path = "../axum-core", version = "0.2.6" }