From c2a800db347b61a5b5ca3ed29219ac10a21c18bd Mon Sep 17 00:00:00 2001 From: Abdulla Abdurakhmanov Date: Sat, 31 Aug 2024 12:17:21 +0200 Subject: [PATCH] Enable all features for docs generation --- Cargo.toml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 328e73a..549dc96 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -57,6 +57,11 @@ prost = { version= "0.13", features = ["prost-derive"] } arrow = { version = "52", features = ["ipc"] } tracing = "0.1" tracing-subscriber = { version = "0.3"} +cargo-husky = { version = "1.5", default-features = false, features = ["run-for-all", "prepush-hook", "run-cargo-fmt"] } + +[package.metadata.docs.rs] +all-features = true +rustdoc-args = ["--cfg", "docsrs"] [[example]] name = "json-example" @@ -97,6 +102,3 @@ required-features = ["json"] name = "arrow-example" path = "examples/arrow-example.rs" required-features = ["arrow"] - -[build-dependencies] -cargo-husky = { version = "1.5", default-features = false, features = ["run-for-all", "prepush-hook", "run-cargo-fmt"] }