From 1eb2a2fe3edbf9f4cd4c134ebde53dd9add19499 Mon Sep 17 00:00:00 2001 From: Sebastien Rousseau Date: Sun, 25 Aug 2024 00:53:23 +0100 Subject: [PATCH] docs(serde_yml): :art: updated package.metadata.docs.rs --- Cargo.toml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 91cd3ed1..01dd53ab 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -65,8 +65,17 @@ path = "src/lib.rs" required-features = [] [package.metadata.docs.rs] +# Specify arguments for rustdoc to enhance documentation quality. +rustdoc-args = [ + "--generate-link-to-definition", + "--cfg", "docsrs", + "--document-private-items", + "--display-warnings" +] +# Build docs with all crate features enabled to cover the entire API. +all-features = true +# Target platform for the docs, ensuring compatibility with common Linux servers. targets = ["x86_64-unknown-linux-gnu"] -rustdoc-args = ["--generate-link-to-definition"] # Linting config [lints.rust]