Latest release doesn't build
mgsloan opened this issue · comments
Michael Sloan commented
Joshuto looks great, thanks for making it. I think a new release should be made!
I ran cargo install joshuto
and got the following error, which I believe is fixed in d52bd76 but that fix came after the release of v0.9.6 (building from the repo works)
Compiling joshuto v0.9.6
error[E0061]: this function takes 2 arguments but 1 argument was supplied
--> /home/mgsloan/.cargo/registry/src/index.crates.io-6f17d22bba15001f/joshuto-0.9.6/src/ui/widgets/tui_help.rs:62:28
|
62 | let table_widget = Table::new(keymap)
| ^^^^^^^^^^-------- an argument is missing
|
note: associated function defined here
--> /home/mgsloan/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ratatui-0.26.1/src/widgets/table/table.rs:263:12
|
263 | pub fn new<R, C>(rows: R, widths: C) -> Self
| ^^^
help: provide the argument
|
62 | let table_widget = Table::new(keymap, /* widths */)
| ~~~~~~~~~~~~~~~~~~~~~~
For more information about this error, try `rustc --explain E0061`.
error: could not compile `joshuto` (bin "joshuto") due to previous error
error: failed to compile `joshuto v0.9.6`, intermediate artifacts can be found at `/tmp/cargo-installca1v9E`.
Jeff Zhao commented
Released new version!