dojo
dojo copied to clipboard
feat: add macros and core-test crates
trafficstars
Add macros and core-test crates to be integrated into Dojo after bumping to Cairo 2.11.2.
Summary by CodeRabbit
-
New Features
- Introduced a comprehensive suite of procedural macros for the Dojo framework, including macros for models, events, contracts, and libraries.
- Added utility macros for byte array hashing and selector computation.
- Provided extensive test utilities and helper modules for deploying and testing contracts, models, events, and libraries within simulated environments.
-
Bug Fixes
- Improved diagnostics and error reporting for macro usage and validation.
-
Tests
- Added extensive unit and integration test suites covering models, events, contracts, storage, permissions, upgrades, metadata, and utility functions.
-
Documentation
- Enhanced inline code documentation and structured configuration files for new crates and test environments.
-
Chores
- Added new workspace dependencies and configuration files for macro and test crates.
- Updated subproject references for UI components.