Skip to content
Discussion options

You must be logged in to vote

The 29 errors all come from the first change, not from anything NetBSD-specific: [patch.crates-io] and a path dependency don't do the same thing.

A [patch] entry replaces a crate everywhere in the graph. A path dependency only replaces your own edge to it. So once the patch section is gone, ratatui-widgets 0.3.2 still resolves its own ratatui-core 0.1.2 from crates.io, yazi gets the fork, and two copies of the same version are two distinct types — hence the trait bound ratatui_core::style::Style: From<ratatui_core::style::Style> is not satisfied.

I reproduced it outside of yazi, with a crate that only calls Block::bordered().border_style(style):

$ cargo tree -d      # ratatui-core as a pa…

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@0323pin
Comment options

@Yuno15-bb
Comment options

@0323pin
Comment options

@0323pin
Comment options

Answer selected by 0323pin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants