| Crates.io | starknet-rust-core-derive |
| lib.rs | starknet-rust-core-derive |
| version | 0.1.0 |
| created_at | 2025-11-24 16:50:31.032725+00 |
| updated_at | 2025-11-24 16:50:31.032725+00 |
| description | Procedural macros for `starknet-rust-core` |
| homepage | |
| repository | https://github.com/software-mansion/starknet-rust |
| max_upload_size | |
| id | 1948141 |
| size | 18,562 |
starknet-rust-coreThis crate provides procedural macros for deriving the Encode and Decode traits from starknet-rust-core. This allows defining a type like:
#[derive(Debug, PartialEq, Eq, Decode, Encode)]
struct CairoType {
a: Felt,
b: U256,
c: bool,
}
and using the ::encode() and ::decode() methods, without manually implementing the corresponding traits.