diesel_schema_parser

Crates.iodiesel_schema_parser
lib.rsdiesel_schema_parser
version0.1.3
sourcesrc
created_at2021-01-22 20:19:53.860115
updated_at2021-01-23 18:05:53.764374
descriptionDiesel Schema Parser and Model Generator
homepagehttps://github.com/HGHimself/diesel-schema-parser
repositoryhttps://github.com/HGHimself/diesel-schema-parser
max_upload_size
id345424
size21,617
HG King (hgm-king)

documentation

https://github.com/HGHimself/diesel-schema-parser

README

Rust Diesel Schema Parser

A tool to parse your Schema files generated by Diesel and Generate Models for you to use.

To run, you need a list of things:

  • Install Diesel
  • Connect it to a database
  • Run both setup and migrate to generate the schema.rs file
  • A template (see examples)
  • A config in the root of your project with the name .db-schema-parser-config.json (see examples)
  • A folder to for your models to be generated in

With all of these things in place, all you have to do is configure and then run the binary!

Commit count: 14

cargo fmt