starknet-rust-core-derive 0.1.0

Procedural macros for `starknet-rust-core`
Documentation

Procedural macros for starknet-rust-core

This 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.