- set MSRV to
1.70
- replace
structoptwithclap - replace dependency
Inflectorwithheck - add dependency
thiserror - remove dependency
anyhow - add subcommand to generate shell completions
- function
generate_filesnow takes in&Paths instead ofPathBufs - remove
to_singularname generations - add option
--create-strto setCreate*structs string & byte types - add option
--update-strto setUpdate*structs string & byte type - add option
--single-model-fileto only generate a single file instead of a directory withmod.rsandgenerated.rs - add option
--readonly-prefixand--readonly-suffixto treat a matching name as a readonly struct - add option
--no-crudto not generate anyimplblocks - derive generation has been refactored and now only necessary derives are added to a given struct
- reduce amount of empty-newlines
- add
dsync::Error(anddsync::errormodule) - replace most
panic!,.expectand some.unwrapwithResults - fix nullable unsigned integers not resulting in
Option<u*> - derive
Defaultfor allUpdate*structs - use
@generatedfile signature to exclude the files from formatting - rename
type Connection =totype ConnectionType =to lessen naming conflicts - add many doc-comments to fields and functions
- list changes to files (unchanged, modified, deleted)
- generate doc-comments for generated structs, fields and functions
- add derive
QueryableByNameto read-structs - add derive
PartialEqto update-structs - add new experimental filters (behind the
advanced-queriesfeature flag) - move function
paginatebehindadvanced-queriesfeature flag - split
GenerationConfiginto required and optional parts (GenerationConfigOpts) (fixes #92) - added compile tests to actually verify all options compiling
- used for testing publishing CI
- add option
schema-pathandmodel-pathto specify custom paths for diesel schemas input and model output
- add option
--no-serdeto disable serde derives
- fixes for diesel
2.1.0