Skip to content

Commit

Permalink
add doc_auto_cfg like in anza-xyz#3121
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinheavey committed Oct 22, 2024
1 parent f58a364 commit c1dd543
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sdk/signer/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,5 @@ keypair = [

[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
all-features = true
rustdoc-args = ["--cfg=docsrs"]
1 change: 1 addition & 0 deletions sdk/signer/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
//! Abstractions and implementations for transaction signers.
#![cfg_attr(docsrs, feature(doc_auto_cfg))]
use {
core::fmt,
solana_pubkey::Pubkey,
Expand Down

0 comments on commit c1dd543

Please sign in to comment.