| Crates.io | rustling-derive |
| lib.rs | rustling-derive |
| version | 0.1.0 |
| created_at | 2025-10-19 12:28:19.961211+00 |
| updated_at | 2025-10-19 12:28:19.961211+00 |
| description | Procedural macros for Rustling repositories (PostgreSQL and MongoDB) |
| homepage | https://github.com/andreyykovalev/rustling-data |
| repository | https://github.com/andreyykovalev/rustling-data |
| max_upload_size | |
| id | 1890372 |
| size | 18,583 |
Procedural macros for generating repository implementations
using the rustling-data runtime.
| Macro | Description |
|---|---|
#[derive(Repository)] |
Generates CRUD repository for PostgreSQL |
#[derive(MongoRepository)] |
Generates CRUD repository for MongoDB |
#[derive(Entity)] |
Generates metadata accessors for entity structs |
[dependencies]
rustling-data = { version = "0.1", features = ["mongo"] }
rustling-derive = "0.1"