From a79606b4ce419dfd76b47d0f1b0f6bd06a9720f2 Mon Sep 17 00:00:00 2001 From: kingchenc Date: Fri, 22 May 2026 16:20:43 +0200 Subject: [PATCH] E9: complete the published crate manifests The three published crates had no documentation link and no docs.rs configuration, so wickra-data's feature-gated live-binance module would not render on docs.rs. Add documentation = "https://docs.rs/" and a [package.metadata.docs.rs] section with all-features = true to wickra-core, wickra, and wickra-data. No `exclude` is added: each crate directory contains only src/ (plus benches/examples that are useful source), so there is nothing irrelevant to drop from the .crate. --- crates/wickra-core/Cargo.toml | 6 ++++++ crates/wickra-data/Cargo.toml | 6 ++++++ crates/wickra/Cargo.toml | 5 +++++ 3 files changed, 17 insertions(+) diff --git a/crates/wickra-core/Cargo.toml b/crates/wickra-core/Cargo.toml index e11525bb..c4703870 100644 --- a/crates/wickra-core/Cargo.toml +++ b/crates/wickra-core/Cargo.toml @@ -11,6 +11,12 @@ homepage.workspace = true readme.workspace = true keywords.workspace = true categories.workspace = true +documentation = "https://docs.rs/wickra-core" + +# Render the docs on docs.rs with every feature enabled so the parallel +# (rayon-backed) batch APIs are documented. +[package.metadata.docs.rs] +all-features = true [lints] workspace = true diff --git a/crates/wickra-data/Cargo.toml b/crates/wickra-data/Cargo.toml index 9d1772d7..8a28072e 100644 --- a/crates/wickra-data/Cargo.toml +++ b/crates/wickra-data/Cargo.toml @@ -11,6 +11,12 @@ homepage.workspace = true readme.workspace = true keywords.workspace = true categories.workspace = true +documentation = "https://docs.rs/wickra-data" + +# Render the docs on docs.rs with every feature enabled so the optional +# live-binance feed is documented (otherwise it is hidden behind its feature). +[package.metadata.docs.rs] +all-features = true [lints] workspace = true diff --git a/crates/wickra/Cargo.toml b/crates/wickra/Cargo.toml index c4b185da..bc6b4465 100644 --- a/crates/wickra/Cargo.toml +++ b/crates/wickra/Cargo.toml @@ -11,6 +11,11 @@ homepage.workspace = true readme.workspace = true keywords.workspace = true categories.workspace = true +documentation = "https://docs.rs/wickra" + +# Render the docs on docs.rs with every feature enabled. +[package.metadata.docs.rs] +all-features = true [lints] workspace = true