hackernews-TUI icon indicating copy to clipboard operation
hackernews-TUI copied to clipboard

The latest published release fails to build with Rust > 1.79

Open 0323pin opened this issue 1 year ago • 2 comments

Hi,

FYI, see title. This is because the time crate fails with:

error[E0282]: type annotations needed for `Box<_>`
  --> /pbulk/work/devel/cargo-outdated/work/vendor/time-0.3.30/src/format_description/parse/mod.rs:83:9
   |
83 |     let items = format_items
   |         ^^^^^
...
86 |     Ok(items.into())
   |              ---- type must be known at this point
   |
help: consider giving `items` an explicit type, where the placeholders `_` are specified
   |
83 |     let items: Box<_> = format_items
   |              ++++++++

The solution is to update time to 0.3.36 and cut a new release.

0323pin avatar Oct 14 '24 20:10 0323pin

Hi @0323pin, thanks for letting me know. It's been a while since the last update. I'll try to see if I can release a new release with dependencies upgraded this week.

aome510 avatar Oct 15 '24 15:10 aome510

That would be awesome, thanks.

0323pin avatar Oct 15 '24 15:10 0323pin

Just published a new release: https://github.com/aome510/hackernews-TUI/releases/tag/v0.13.5

aome510 avatar Oct 22 '24 00:10 aome510

@aome510 thank you!

0323pin avatar Oct 22 '24 03:10 0323pin

Merged

0323pin avatar Oct 22 '24 03:10 0323pin