You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, the near-sdk crate is hardcoded into macro expansions.
The problem with that is users may wish to rename the near-sdk crate, unexpectedly breaking all macros.
It should at the very least be possible to customize the crate name in expanded code using an attribute like e.g. #[near_bindgen(crate = "near-sdk-alt)].
Currently, the
near-sdk
crate is hardcoded into macro expansions.The problem with that is users may wish to rename the
near-sdk
crate, unexpectedly breaking all macros.It should at the very least be possible to customize the crate name in expanded code using an attribute like e.g.
#[near_bindgen(crate = "near-sdk-alt)]
.Something even better could also be investigated: rust-lang/futures-rs#2099
The text was updated successfully, but these errors were encountered: