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",
"sqlx",
"structopt",
"tokio 1.5.0",
"toml",
"warp 0.3.1",
]
@ -2086,6 +2087,18 @@ dependencies = [
"mio 0.7.11",
"num_cpus",
"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]]

View File

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