From 9b1f1a907bcff3d56a875be8581337ce50a5d431 Mon Sep 17 00:00:00 2001 From: David Pedersen Date: Mon, 27 Mar 2023 17:12:19 +0200 Subject: [PATCH] Update allowed crates in public API (#1888) --- axum-extra/Cargo.toml | 2 +- axum/Cargo.toml | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/axum-extra/Cargo.toml b/axum-extra/Cargo.toml index 984ebb3f..cef0a8b5 100644 --- a/axum-extra/Cargo.toml +++ b/axum-extra/Cargo.toml @@ -80,6 +80,7 @@ rustdoc-args = ["--cfg", "docsrs"] allowed = [ "axum", "axum_core", + "axum_macros", "bytes", "cookie", "futures_core", @@ -87,7 +88,6 @@ allowed = [ "http", "http_body", "hyper", - "percent_encoding", "prost", "serde", "tokio", diff --git a/axum/Cargo.toml b/axum/Cargo.toml index b4198500..616f7e3b 100644 --- a/axum/Cargo.toml +++ b/axum/Cargo.toml @@ -176,11 +176,14 @@ features = [ [package.metadata.cargo-public-api-crates] allowed = [ + "async_trait", "axum_core", + "axum_macros", "bytes", "futures_core", "futures_sink", "futures_util", + "headers", "headers_core", "http", "http_body",