docs: install with --locked #10
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hi! Thanks for creating and sharing this wonderful cli app. I was looking for a lightweight tool to read spreadsheets (LibreOffice is massive and overkill for my use-case), and this is perfect.
I don't know if this suggestion is correct, but, in my case,
cargo run
/cargo build
runs fine, butcargo install
breaks with ~10 errors. Apparently, it's becausecargo install
doesn't completely honorCargo.lock
unless--locked
(or--frozen
) is passed.All the reported errors, when running without
--locked
, are related tothe trait bound impl ratatui::widgets::Widget + '_: Widget is not satisfied
andmismatched types
.It looks like it resolves two different versions of
ratatui
,0.24
and0.29
:I think the "culprit" seems to be tui-textarea:
This difference in default behavior between
run
andinstall
seems to be a thing, and it's definitely very counter-intuitive.I can kinda reproduce it if I remove the
Cargo.lock
:rm
'ingCargo.lock
actually causescargo build
to fail.Upgrading ratatui to "0.27.0" and tui-textarea to "0.5.0" "fixes" this issue.
I opened #11 with that dependency upgrade.
Optional dependencies are always such a pain...