14 releases
0.2.10 | Apr 16, 2023 |
---|---|
0.2.9 | Apr 9, 2023 |
0.2.8 | Mar 30, 2023 |
0.2.6 | Jan 23, 2023 |
0.1.2 | Dec 20, 2022 |
#32 in #ddd
Used in 3 crates
72KB
1.5K
SLoC
CRCNT Macros
Sample
use crcnt_ddd_macros::Domain;
#[derive(Domain)]
#[domain_commands(entity, store)]
#[domain_store(table_name = "t_rice", params_extractor = "super::mysql_tools::params_inspect")]
struct __Rice__ {
id: String,
name: String,
#[domain_value(skip_new_type = true)]
create_time: CreateAt,
update_time: UpdateAt,
#[domain_value(skip_new_type = true)]
creator: Creator,
updater: Updater,
deleted: Deleted,
}
Dependencies
~2.5MB
~51K SLoC