rs-zero 0.1.0

Rust-first microservice framework inspired by go-zero engineering practices
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# model-cache

This fixture drives the Milestone 3 model/cache generator.

```bash
rs-zero model gen -s examples/model-cache/schema.sql -d target/generated
```

The generated crate contains:

- `src/entity.rs` with serde DTO entities.
- `src/repository.rs` with repository trait skeletons.
- `src/cache.rs` with cache key helpers for primary and secondary indexes.

The generator does not connect to a database or Redis. Application code owns concrete repository and cache clients.