diff --git a/axum-core/Cargo.toml b/axum-core/Cargo.toml index 11d86354..f6b1c880 100644 --- a/axum-core/Cargo.toml +++ b/axum-core/Cargo.toml @@ -52,3 +52,7 @@ allowed = [ "http_body", "tower_layer", ] + +[package.metadata.docs.rs] +all-features = true +rustdoc-args = ["--cfg", "docsrs"] diff --git a/axum-macros/Cargo.toml b/axum-macros/Cargo.toml index 561ee520..ef98c51b 100644 --- a/axum-macros/Cargo.toml +++ b/axum-macros/Cargo.toml @@ -41,3 +41,7 @@ trybuild = "1.0.63" [package.metadata.cargo-public-api-crates] allowed = [] + +[package.metadata.docs.rs] +all-features = true +rustdoc-args = ["--cfg", "docsrs"]