podstru-internal

Crates.iopodstru-internal
lib.rspodstru-internal
version0.1.1
sourcesrc
created_at2024-11-17 13:04:21.42331
updated_at2024-11-17 13:38:03.258216
descriptionBureaucratic structs to speed up rust development
homepage
repositoryhttps://github.com/welschmorgan/rs-podstru
max_upload_size
id1451244
size14,133
Welsch Morgan (welschmorgan)

documentation

README

POD

Apache License Crates.io rust release

The pod crate supports auto-generating the most basic operations on pod-like structs. It alleviates the burden of having to write bureaucratic funcs and patterns.

It currently supports the following:

  • Generating a builder pattern via the Builder derive macro
  • Generating field setters via the Setters derive macro
  • Generating field getters via the Getters derive macro
  • Generating field setters AND getters via the Fields derive macro
  • Generating new constructor via the Ctor derive macro

Crates structure

3 crates are available:

  • internal - this provides the traits used by the derive macros
  • derive - the derive macros
  • public - the reexported traits and derive macros

Examples

Authors

  • Morgan Welsch
Commit count: 15

cargo fmt