codevis icon indicating copy to clipboard operation
codevis copied to clipboard

Separate binary and library crates?

Open sloganking opened this issue 2 years ago • 0 comments

Is it better practice to have binaries and libraries as separate crates? If now, how should semantic versioning work when changes are made to one but not the other? Especially if there is a breaking change in the library but not the CLI binary.

I think gitoxide and gitoxide-core, are an example of this being done.

sloganking avatar Sep 24 '22 21:09 sloganking