mirror of
https://github.com/bevyengine/bevy.git
synced 2026-07-01 08:12:51 -04:00
c94471dcac
# Objective Ratatui is used by the `tools/export-content` crate. Update it to its latest stable version. This PR supersedes #22351 which is a dependabot PR that got stuck on some breaking changes in ratatui 0.30. ## Solution Ratatui's `Backend` type now has an associated `Error` type that does not specify `Send + Sync`, which is a bit awkward because `miette` requires those. Fixed by adding the requirements locally, and changing `init_terminal()` to return its specific backend type so that the compiler can verify its `Error` type. ## Testing Ran the tool before and after and it looked the same.
17 lines
309 B
TOML
17 lines
309 B
TOML
[package]
|
|
name = "export-content"
|
|
version = "0.1.0"
|
|
edition = "2024"
|
|
publish = false
|
|
|
|
[dependencies]
|
|
miette = { version = "7.6.0", features = ["fancy"] }
|
|
ratatui = "0.30.0"
|
|
regex = "1.11.1"
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
serde_yml = "0.0.12"
|
|
thiserror = "2.0.12"
|
|
|
|
[lints]
|
|
workspace = true
|