Add tokio dependency

This commit is contained in:
Elias Schriefer 2021-06-28 13:24:49 +00:00
parent caf9bd299a
commit 55c549d2cf
2 changed files with 14 additions and 0 deletions

13
Cargo.lock generated
View File

@ -1209,6 +1209,7 @@ dependencies = [
"serde", "serde",
"sqlx", "sqlx",
"structopt", "structopt",
"tokio 1.5.0",
"toml", "toml",
"warp 0.3.1", "warp 0.3.1",
] ]
@ -2086,6 +2087,18 @@ dependencies = [
"mio 0.7.11", "mio 0.7.11",
"num_cpus", "num_cpus",
"pin-project-lite 0.2.6", "pin-project-lite 0.2.6",
"tokio-macros",
]
[[package]]
name = "tokio-macros"
version = "1.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c49e3df43841dafb86046472506755d8501c5615673955f6aa17181125d13c37"
dependencies = [
"proc-macro2",
"quote",
"syn",
] ]
[[package]] [[package]]

View File

@ -16,6 +16,7 @@ warp = { version = "^0.3", default-features = false, features = ["compression",
structopt = { version = "^0.3", features = ["wrap_help"] } structopt = { version = "^0.3", features = ["wrap_help"] }
toml = "^0.5" toml = "^0.5"
serde = { version = "^1.0", features = ["derive"] } serde = { version = "^1.0", features = ["derive"] }
tokio = { version = "^1.0", features = ["rt-multi-thread", "macros", ] }
[features] [features]
default = ["sqlite"] default = ["sqlite"]