chore: add better async I/O
Signed-off-by: NotAShelf <raf@notashelf.dev> Change-Id: Ie16651439276319a9044f58c195784836a6a6964
This commit is contained in:
parent
56d44e120a
commit
3e14bbe607
2 changed files with 6 additions and 1 deletions
4
Cargo.lock
generated
4
Cargo.lock
generated
|
|
@ -4757,11 +4757,13 @@ dependencies = [
|
||||||
"clap",
|
"clap",
|
||||||
"governor",
|
"governor",
|
||||||
"http-body-util",
|
"http-body-util",
|
||||||
|
"percent-encoding",
|
||||||
"pinakes-core",
|
"pinakes-core",
|
||||||
"pinakes-plugin-api",
|
"pinakes-plugin-api",
|
||||||
"rand 0.9.2",
|
"rand 0.9.2",
|
||||||
"serde",
|
"serde",
|
||||||
"serde_json",
|
"serde_json",
|
||||||
|
"tempfile",
|
||||||
"thiserror 2.0.18",
|
"thiserror 2.0.18",
|
||||||
"tokio",
|
"tokio",
|
||||||
"tokio-util",
|
"tokio-util",
|
||||||
|
|
@ -5577,7 +5579,9 @@ dependencies = [
|
||||||
"base64 0.22.1",
|
"base64 0.22.1",
|
||||||
"bytes",
|
"bytes",
|
||||||
"encoding_rs",
|
"encoding_rs",
|
||||||
|
"futures-channel",
|
||||||
"futures-core",
|
"futures-core",
|
||||||
|
"futures-util",
|
||||||
"h2",
|
"h2",
|
||||||
"http",
|
"http",
|
||||||
"http-body",
|
"http-body",
|
||||||
|
|
|
||||||
|
|
@ -16,6 +16,7 @@ license = "MIT"
|
||||||
[workspace.dependencies]
|
[workspace.dependencies]
|
||||||
# Async runtime
|
# Async runtime
|
||||||
tokio = { version = "1.49.0", features = ["full"] }
|
tokio = { version = "1.49.0", features = ["full"] }
|
||||||
|
tokio-util = { version = "0.7.18", features = ["rt"] }
|
||||||
|
|
||||||
# Serialization
|
# Serialization
|
||||||
serde = { version = "1.0.228", features = ["derive"] }
|
serde = { version = "1.0.228", features = ["derive"] }
|
||||||
|
|
@ -80,7 +81,7 @@ governor = "0.8.1"
|
||||||
tower_governor = "0.6.0"
|
tower_governor = "0.6.0"
|
||||||
|
|
||||||
# HTTP client
|
# HTTP client
|
||||||
reqwest = { version = "0.13.1", features = ["json", "query"] }
|
reqwest = { version = "0.13.1", features = ["json", "query", "blocking"] }
|
||||||
|
|
||||||
# TUI
|
# TUI
|
||||||
ratatui = "0.30.0"
|
ratatui = "0.30.0"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue