All notable changes to the aimdb-derive crate will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
No changes yet.
0.1.0 - 2025-12-23
- Initial Release:
#[derive(RecordKey)]macro for compile-time checked record keys - Attributes:
#[key = "..."](required): String representation for each variant#[key_prefix = "..."](optional): Namespace prefix applied to all variants#[link_address = "..."](optional): Connector metadata (MQTT topics, KNX addresses)
- Generated Implementations:
impl RecordKeywithas_str()andlink_address()methodsimpl Borrow<str>for O(1) HashMap lookupsimpl Hashthat hashes the string key (satisfiesBorrow<str>contract)
- Compile-Time Validation:
- Duplicate key detection
- Unit variant enforcement (no tuple/struct variants)
- Missing
#[key]attribute detection
- no_std Support: Fully compatible with
no_stdenvironments