-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Semver hazard due to >=
in ratatui dependency
#32
Comments
>=
in ratatui dependency>=
in ratatui dependency
Initially I was using |
I see. It's fine to require that ratatui should actually be 0.22 if they introduced a breaking change. I wouldn't use |
From next release onwards I'll match a major version of this crate to a minor version of ratatui until it reaches 1.0 stable |
Hi, I ran into a semver hazard with this library. I depend on
ratatui 0.21
. I didcargo update
and my library broke becauseansi-to-tui 3.1
depends onratatui 0.22
. In general, I believe that using>=
is considered an anti-pattern as per the Cargo book:I suppose one fix would be to publish a different version of ansi-to-tui for each 0.x release of ratatui. I'm not sure if there's a better solution.
The text was updated successfully, but these errors were encountered: