CLi: made cli-lib modules publicly available for other crates#3881
Conversation
|
|
There is nothing wrong with opening these modules; even if there will be breaking changes, it's not a problem for the project, I think. For now, I want to have a custom behaviour for certain operations with migration revert, and I need to write all the logic for the rest of the CLI by myself, or build a whole |
abonander
left a comment
There was a problem hiding this comment.
This needs the same semver-exempt notice as sqlx-core: https://github.com/launchbadge/sqlx/blob/764ae2f702b15748c56a46a67dc80d719a2977ec/sqlx-core/src/lib.rs#L3-L14
Made modules
database,metadata, ... publicly available for users that want to include sqlx-cli into their own helper binary or other library. (It's easier to usemigrate::rundirectly without buildingOpt).PR doesn't contain any significant changes.