| Crates.io | hexser_macros |
| lib.rs | hexser_macros |
| version | 0.4.7 |
| created_at | 2025-10-07 01:25:28.13039+00 |
| updated_at | 2025-10-13 00:10:01.67145+00 |
| description | Procedural macros for the hexser hexagonal architecture crate |
| homepage | |
| repository | https://github.com/squillo/hexser/hexser_macros |
| max_upload_size | |
| id | 1871066 |
| size | 36,781 |
A small companion utility crate for the main hexser library.
This crate provides the procedural macros that power hexser’s zero‑boilerplate Hexagonal Architecture experience (Ports & Adapters). Most users should depend on hexser directly and let it enable/use these macros. Depend on hexser_macros directly only if you have an advanced use case and know you specifically need the raw macros.
In typical projects you do not need to add hexser_macros explicitly. The main crate re‑exports and uses these macros for you.
[dependencies]
hexser = "0.4.7" # macros enabled by default via the `macros` feature
Advanced users who know they only need the macros can depend directly, but this is uncommon:
[dependencies]
hexser_macros = "0.4.7"
Note: The derive and attribute macros are designed to work with the types/traits defined in
hexser. Using them standalone usually requireshexserin your dependency tree anyway.
hexser_macros and hexser on the same minor/patch version (e.g., 0.3.x).hexser, upgrade hexser_macros to the matching version.Licensed under either of
at your option.
hexserhexser (compile time)hexser (not this crate directly)