blueprint icon indicating copy to clipboard operation
blueprint copied to clipboard

[TASK] Support specifying the crate name in context derive macros

Open Serial-ATA opened this issue 9 months ago • 0 comments

Overview

I'd like to do the following:

sdk = { git = "https://github.com/tangle-network/blueprint", package = "blueprint-sdk" }

But the context derive macros assume that I am using blueprint-sdk:

https://github.com/tangle-network/blueprint/blob/8d98a472142b47680142d3bdfdcdacd5e02d0a29/crates/macros/context-derive/src/keystore.rs#L25

We should have a helper attribute to allow you to specify the crate name.

Serial-ATA avatar Mar 20 '25 17:03 Serial-ATA