Open willcrichton opened 1 year ago
Initially I was using ratatui = 0.*
as a dependency but since they introduced a breaking change on 0.21 that no longer worked.
Maybe I should make a deprecated
feature that'd replace the Line
the with the older Spans
and bump the major version.
Do you think that's a better solution ?
I see. It's fine to require that ratatui should actually be 0.22 if they introduced a breaking change. I wouldn't use >= 0.21
as the requirement then, and just specify a dependency on 0.22.
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.