This repository has been archived by the owner on Jan 22, 2025. It is now read-only.
[change request] Change ::solana_program
to solana_program
in macros
#24303
Labels
stale
[bot only] Added to stale content; results in auto-close after a week.
Problem
Some macros like
pubkey!
use::solana_program
(https://docs.rs/solana-sdk-macro/1.10.8/src/solana_sdk_macro/lib.rs.html#117) instead ofsolana_program
.This means that when users use
pubkey!
in a framework like anchor, they have to specifysolana-program
as a dependency instead of being able to use the re-exportedanchor_lang::solana_program
.Proposed Solution
I might be wrong but if my understanding of
::<x>
is correct (and it requiressolana_program
to be a seperate dependency), it would be great if the::
could be removed so users of anchor no longer have to do that and can just use the re-exportedanchor_lang::solana_program
.The text was updated successfully, but these errors were encountered: