drop to ratatui 0.29
This commit is contained in:
parent
88890f670d
commit
66cf458eb9
3 changed files with 174 additions and 668 deletions
824
Cargo.lock
generated
824
Cargo.lock
generated
File diff suppressed because it is too large
Load diff
|
@ -7,16 +7,16 @@ edition = "2024"
|
||||||
axum = { version = "0.8", features = ["macros"] }
|
axum = { version = "0.8", features = ["macros"] }
|
||||||
chrono = "0.4"
|
chrono = "0.4"
|
||||||
crossterm = { version = "0.28", features = ["event-stream"] }
|
crossterm = { version = "0.28", features = ["event-stream"] }
|
||||||
directories = "6.0.0"
|
directories = "6"
|
||||||
figment = { version = "0.10", features = ["toml", "test", "env"] }
|
figment = { version = "0.10", features = ["toml", "test", "env"] }
|
||||||
futures = "0.3.31"
|
futures = "0.3"
|
||||||
julid-rs = { version = "1", default-features = false, features = ["serde"] }
|
julid-rs = { version = "1", default-features = false, features = ["serde"] }
|
||||||
local-ip-address = "0.6"
|
local-ip-address = "0.6"
|
||||||
mime = "0.3"
|
mime = "0.3"
|
||||||
mime_guess = "2"
|
mime_guess = "2"
|
||||||
native-dialog = "0.9"
|
native-dialog = "0.9"
|
||||||
network-interface = { version = "2", features = ["serde"] }
|
network-interface = { version = "2", features = ["serde"] }
|
||||||
ratatui = "0.30.0-alpha.5"
|
ratatui = "0.29"
|
||||||
reqwest = { version = "0.12", features = ["json"] }
|
reqwest = { version = "0.12", features = ["json"] }
|
||||||
serde = { version = "1", features = ["derive"] }
|
serde = { version = "1", features = ["derive"] }
|
||||||
serde_json = "1"
|
serde_json = "1"
|
||||||
|
@ -24,3 +24,6 @@ sha256 = "1.6"
|
||||||
thiserror = "2"
|
thiserror = "2"
|
||||||
tokio = { version = "1", default-features = false, features = ["time", "macros", "rt-multi-thread"] }
|
tokio = { version = "1", default-features = false, features = ["time", "macros", "rt-multi-thread"] }
|
||||||
tower-http = { version = "0.6", features = ["limit"] }
|
tower-http = { version = "0.6", features = ["limit"] }
|
||||||
|
tracing = "0.1.41"
|
||||||
|
tracing-error = "0.2.1"
|
||||||
|
tracing-subscriber = { version = "0.3.19", features = ["env-filter"] }
|
||||||
|
|
|
@ -35,7 +35,10 @@ fn main() -> error::Result<()> {
|
||||||
|
|
||||||
let mut app = App::new();
|
let mut app = App::new();
|
||||||
|
|
||||||
Ok(ratatui::run(|terminal| {
|
let mut terminal = ratatui::init();
|
||||||
app.start_and_run(terminal, config, device)
|
|
||||||
})?)
|
let result = app.start_and_run(&mut terminal, config, device);
|
||||||
|
ratatui::restore();
|
||||||
|
|
||||||
|
result
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue