fix(deps): add tokio

This commit is contained in:
2026-08-30 15:05:37 -05:00
parent 7a92af6721
commit 939defca26
3 changed files with 16 additions and 1 deletions
Generated
+13
View File
@@ -247,6 +247,7 @@ dependencies = [
"clap",
"reqwest",
"serde",
"tokio",
]
[[package]]
@@ -1327,9 +1328,21 @@ dependencies = [
"mio",
"pin-project-lite",
"socket2",
"tokio-macros",
"windows-sys 0.61.2",
]
[[package]]
name = "tokio-macros"
version = "2.7.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "78773a2a397f451582ce068015985c33193cf6dea8b74d2a639fe457b2f07b0e"
dependencies = [
"proc-macro2",
"quote",
"syn 3.0.4",
]
[[package]]
name = "tokio-rustls"
version = "0.26.4"
+1
View File
@@ -7,3 +7,4 @@ edition = "2024"
clap = { version = "4.6.6", features = ["derive"] }
reqwest = { version = "0.13.4", features = ["json"] }
serde = { version = "1.0.229", features = ["derive"] }
tokio = { version = "1.53.1", features = ["macros", "rt-multi-thread"] }
+2 -1
View File
@@ -1,3 +1,4 @@
fn main() {
#[tokio::main]
async fn main() {
println!("Hello, dictionary!");
}