From af570d0206abcc26e4b9b46642873ff1926d0a90 Mon Sep 17 00:00:00 2001 From: Oscar Rainford Date: Fri, 22 Nov 2024 22:46:14 +1100 Subject: [PATCH] fix: tokio feature flag name updated. --- Cargo.toml | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index ea3df9c..fc6e371 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -11,8 +11,14 @@ categories = ["api-bindings"] # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -oauth2 = { version = "4", default-features = false, features = ["reqwest", "rustls-tls"] } -reqwest = { version = "0.11", default-features = false, features = ["tokio-native-tls", "json"] } +oauth2 = { version = "4", default-features = false, features = [ + "reqwest", + "rustls-tls", +] } +reqwest = { version = "0.11", default-features = false, features = [ + "tokio-native-tls", + "json", +] } url = "2" @@ -34,6 +40,11 @@ thiserror = "1" rust_decimal_macros = "1.15" lazy_static = "1" warp = "0.3" -tokio = { version = "1", default-features = false, features = ["time", "rt", "macros"] } +tokio = { version = "1", default-features = false, features = [ + "time", + "rt", + "macros", + "rt-multi-thread", +] } anyhow = "1" tracing-subscriber = "0.2"