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,