starknet-rust-core-derive

Crates.iostarknet-rust-core-derive
lib.rsstarknet-rust-core-derive
version0.1.0
created_at2025-11-24 16:50:31.032725+00
updated_at2025-11-24 16:50:31.032725+00
descriptionProcedural macros for `starknet-rust-core`
homepage
repositoryhttps://github.com/software-mansion/starknet-rust
max_upload_size
id1948141
size18,562
Starknet Foundry (github:software-mansion:starknet-foundry)

documentation

README

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.

Commit count: 0

cargo fmt