2 unstable releases
Uses new Rust 2024
| 0.19.0-rc.0 | Feb 24, 2026 |
|---|---|
| 0.1.0 | Nov 24, 2025 |
#53 in #starknet
23,427 downloads per month
Used in 14 crates
(2 directly)
17KB
318 lines
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.
Dependencies
~115–485KB
~11K SLoC