crudecomputer / jrny

A lightweight, compiled, zero-dependency PostgreSQL schema revision tool; just add SQL!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Using as a library includes dependencies that only the binary needs

kevlarr opened this issue · comments

commented

The lib itself does not need clap or termcolor so they should not be included outside of the binary. For this really simple setup, maybe use option 2 from https://stackoverflow.com/a/26953326/4747937

Also, see: https://rust-cli-recommendations.sunshowers.io/binaries-vs-libraries.html#if-youve-decided-to-make-a-library