Expand description
Shared helpers for auth generators — migration rendering, name inflection, and route/module injection.
Re-exports§
pub use field::Field;pub use names::to_pascal;pub use names::to_snake;pub use names::to_table_name;pub use controller::AuthControllerGenerator;pub use install::AuthInstallGenerator;pub use scaffold::AuthScaffoldGenerator;
Modules§
- controller
doido generate auth:controller— controller withrequire_userguards.- field
- Parsing of
name:type[:modifier...]field specs for auth scaffolds. - install
doido generate auth:install— thedevise:install+devise Useranalogue.- migration_
support - Migration file rendering and registration — mirrors
doido-generatorshelpers without depending on that crate. - names
- Name inflection helpers — same conventions as
doido-generators. - route_
injector - Injects explicit auth routes understood by the
routes!macro. - scaffold
doido generate auth:scaffold— auth install (if needed) + auth-aware scaffold.
Structs§
- Generated
File - A file emitted by an auth generator.
Traits§
- Auth
Generator - Auth generator contract — mirrors
doido_generators::Generatorwithout a crate dependency (avoids circular deps withdoido-generators). - Auth
Generator Registry - Implemented by
doido_generators::GeneratorRegistryto merge auth generators.
Functions§
- register
- Register all auth generators into
reg.