podcasts/podcasts-data/Cargo.toml
Jordan Petridis 3019fcf630
Pipeline: Use a custom tokio threadpool
This reverts commit e64883eecb
and 40dd2d6923

Seems like core.run() returns once its done even if there
are still tasks in the Runtime underneath. A way to solve that
would be to call the shutdown_on_idle method.

We need ownership of the threadpool in order to invoke
`shutdown_on_idle` method but core.runtime only returns a
referrence so we need to create our own threadpool.
2018-09-03 19:50:42 +03:00

43 lines
800 B
TOML

[package]
authors = ["Jordan Petridis <jordanpetridis@protonmail.com>"]
name = "podcasts-data"
version = "0.1.0"
workspace = "../"
[dependencies]
ammonia = "1.2.0"
chrono = "0.4.6"
derive_builder = "0.5.1"
lazy_static = "1.1.0"
log = "0.4.4"
rayon = "1.0.2"
rfc822_sanitizer = "0.3.3"
rss = "1.5.0"
url = "1.7.1"
xdg = "2.1.0"
xml-rs = "0.8.0"
futures = "0.1.23"
hyper = "0.11.27"
tokio-core = "0.1.17"
tokio-threadpool = "0.1.6"
tokio-executor = "0.1"
hyper-tls = "0.1.3"
native-tls = "0.1.5"
num_cpus = "1.8.0"
failure = "0.1.2"
failure_derive = "0.1.2"
[dependencies.diesel]
features = ["sqlite", "r2d2"]
version = "1.3.2"
[dependencies.diesel_migrations]
features = ["sqlite"]
version = "1.3.0"
[dev-dependencies]
rand = "0.5.5"
tempdir = "0.3.7"
pretty_assertions = "0.5.1"
maplit = "1.0.1"