Skip to content

Commit

Permalink
docs(serde_yml): 🎨 updated package.metadata.docs.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastienrousseau committed Aug 24, 2024
1 parent e6f3424 commit 1eb2a2f
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit 1eb2a2f

Please sign in to comment.