Closed marcelbuesing closed 3 years ago
This is excellent, just what I need.
Nice! Can we still keep a small main.rs around? Maybe in a dbc-codegen-cli crate to not have the cli dependencies. I'd rather check in the generated code myself than doing the build.rs dance :)
Want me to contribute to this branch? I have some time to fiddle with this :)
Sure feel free to change everything! I think moving the bin part to a separate crate is certainly an option.
Done! Based on your stuff, there's now a -cli crate, and I did everything from your checklist except adding convenience functions for buffer/path handling.
Awesome! Actually I think the thiserror checkpoint can be ignored. Thanks for also publishing it to crates.io really happy to see that. That should make using it quite convenient. cargo install dbc-codegen-cli
FTW.