diff --git a/sdk/rent-debits/Cargo.toml b/sdk/rent-debits/Cargo.toml index f8418fd3bc0a1e..7608d86eb67835 100644 --- a/sdk/rent-debits/Cargo.toml +++ b/sdk/rent-debits/Cargo.toml @@ -18,6 +18,8 @@ dev-context-only-utils = [] [package.metadata.docs.rs] targets = ["x86_64-unknown-linux-gnu"] +all-features = true +rustdoc-args = ["--cfg=docsrs"] [target.'cfg(target_os = "solana")'.dependencies] solana-define-syscall = { workspace = true } diff --git a/sdk/rent-debits/src/lib.rs b/sdk/rent-debits/src/lib.rs index 43eba86078cbff..d6f38d95827c3c 100644 --- a/sdk/rent-debits/src/lib.rs +++ b/sdk/rent-debits/src/lib.rs @@ -1,3 +1,4 @@ +#![cfg_attr(docsrs, feature(doc_auto_cfg))] use { solana_pubkey::Pubkey, solana_reward_info::{RewardInfo, RewardType},