Neptune-Crypto / neptune-core

anonymous peer-to-peer cash
Apache License 2.0
24 stars 7 forks source link

Change from `tui` dependency to `ratatui` #33

Closed Sword-Smith closed 11 months ago

Sword-Smith commented 1 year ago

cargo audit reports that the tui dependency is deprecated and is replaced by ratatui instead.

We change from tui to ratatui.

I checked that ratatui works as a drop-in replacement but there are warnings when making that change.

See https://github.com/ratatui-org/ratatui for tips on how to upgrade from tui to ratatui.

cargo audit output:

Crate:     tui
Version:   0.19.0
Warning:   unmaintained
Title:     `tui` is unmaintained; use `ratatui` instead
Date:      2023-08-07
ID:        RUSTSEC-2023-0049
URL:       https://rustsec.org/advisories/RUSTSEC-2023-0049
Dependency tree:
tui 0.19.0
└── neptune-core 0.0.0
Sword-Smith commented 1 year ago

Alphanet users are reporting problems using the neptune-dashboard binary on Windows. We should upgrade to ratatui before attempting to fix the situation with Windows ourselves, as I think ratatui is better supported on Windows and since tui is deprecated as mentioned above.

Sword-Smith commented 11 months ago

Closed by the merging of #53 / 6db39fa31935b39ac2a78ab3fd5685f4c0d7cad2