From c1dd5434152130f673d56b1372a90e88dc25e672 Mon Sep 17 00:00:00 2001 From: kevinheavey Date: Sat, 12 Oct 2024 14:14:06 +0400 Subject: [PATCH] add doc_auto_cfg like in #3121 --- sdk/signer/Cargo.toml | 2 ++ sdk/signer/src/lib.rs | 1 + 2 files changed, 3 insertions(+) diff --git a/sdk/signer/Cargo.toml b/sdk/signer/Cargo.toml index 37df95d72d77b7..3cb35b92755bcb 100644 --- a/sdk/signer/Cargo.toml +++ b/sdk/signer/Cargo.toml @@ -35,3 +35,5 @@ keypair = [ [package.metadata.docs.rs] targets = ["x86_64-unknown-linux-gnu"] +all-features = true +rustdoc-args = ["--cfg=docsrs"] diff --git a/sdk/signer/src/lib.rs b/sdk/signer/src/lib.rs index 37410c0cb233d2..06aa4ddf4c1276 100644 --- a/sdk/signer/src/lib.rs +++ b/sdk/signer/src/lib.rs @@ -1,4 +1,5 @@ //! Abstractions and implementations for transaction signers. +#![cfg_attr(docsrs, feature(doc_auto_cfg))] use { core::fmt, solana_pubkey::Pubkey,