rustling-derive

Crates.iorustling-derive
lib.rsrustling-derive
version0.1.0
created_at2025-10-19 12:28:19.961211+00
updated_at2025-10-19 12:28:19.961211+00
descriptionProcedural macros for Rustling repositories (PostgreSQL and MongoDB)
homepagehttps://github.com/andreyykovalev/rustling-data
repositoryhttps://github.com/andreyykovalev/rustling-data
max_upload_size
id1890372
size18,583
(andreyykovalev)

documentation

https://docs.rs/rustling-derive

README

rustling-derive ⚙️

Procedural macros for generating repository implementations using the rustling-data runtime.


✨ Macros Overview

Macro Description
#[derive(Repository)] Generates CRUD repository for PostgreSQL
#[derive(MongoRepository)] Generates CRUD repository for MongoDB
#[derive(Entity)] Generates metadata accessors for entity structs

📦 Installation

[dependencies]
rustling-data = { version = "0.1", features = ["mongo"] }
rustling-derive = "0.1"
Commit count: 0

cargo fmt