dojo-cairo-macros 1.7.0

Cairo proc macros for the Dojo framework.
Documentation
1
2
3
4
5
6
7
8
9
10
11
pub const DOJO_INTROSPECT_DERIVE: &str = "Introspect";
pub const DOJO_PACKED_DERIVE: &str = "IntrospectPacked";
pub const DOJO_LEGACY_STORAGE_DERIVE: &str = "DojoLegacyStore";
pub const DOJO_STORE_DERIVE: &str = "DojoStore";

pub const EXPECTED_DERIVE_ATTR_NAMES: [&str; 2] = ["Serde", "Drop"];

pub const CAIRO_DELIMITERS: [char; 7] = ['[', ']', '<', '>', '(', ')', ','];

pub const CONSTRUCTOR_FN: &str = "constructor";
pub const DOJO_INIT_FN: &str = "dojo_init";