Merge topic 'tokio-uplift'
11b6848b handlers: use `tokio::task::spawn_blocking` to handle jobs f7c21cf9 cargo: update the test suite to use tokio 1.0 fd436294 cargo: update json-job-dispatch 3ed0121b cargo: drop unnecessary features of `chrono` 9870621f cargo: remove `failure` direct dependency Acked-by:Kitware Robot <kwrobot@kitware.com> Tested-by:
buildbot <buildbot@kitware.com> Merge-request: !302
This diff is collapsed.
... | ... | @@ -14,21 +14,21 @@ keywords = ["git", "workflow", "daemon", "ghostflow"] |
edition = "2018" | ||
[dev-dependencies] | ||
futures = "~0.1" | ||
async-stream = "~0.3" | ||
futures = "~0.3" | ||
lazy_static = "^1" | ||
serial_test = "~0.6" | ||
tempfile = "^3.2.0" | ||
tokio = "~0.1.8" | ||
tokio-uds = "~0.2" | ||
tokio = { version = "^1.0", default-features = false, features = ["io-util", "net", "rt", "sync", "time"] } | ||
tokio-stream = { version = "~0.1", default-features = false, features = ["net", "time"] } | ||
[dependencies] | ||
async-trait = "~0.1" | ||
boxfnonce = "~0.1" | ||
chrono = "~0.4" | ||
chrono = { version = "~0.4.16", default-features = false } | ||
clap = { version = "^3", features = ["cargo"] } | ||
either = "^1.0" | ||
env_logger = "~0.9" | ||
failure = "~0.1" | ||
#ghostflow = "~0.1" | ||
#ghostflow-gitlab = "~0.1" | ||
#ghostflow-github = "~0.1" | ||
... | ... | @@ -39,7 +39,7 @@ git-topic-stage = "^4.0" |
git-workarea = "^4.0" | ||
graphql_client = "~0.10" | ||
itertools = "~0.10" | ||
json-job-dispatch = "^3" | ||
json-job-dispatch = "^3.0.1" | ||
lazy-init = "~0.5" | ||
log = "~0.4" | ||
rayon = "^1.0" | ||
... | ... | @@ -50,6 +50,7 @@ serde_json = "^1.0" |
serde_yaml = "~0.8" | ||
systemd = { version = "~0.10.0", optional = true } | ||
thiserror = "^1.0.2" | ||
tokio = { version = "^1.0", default-features = false, features = ["rt"] } | ||
topological-sort = "~0.1" | ||
#ttl_cache = "~0.5" | ||
ttl_cache = { git = "https://github.com/mathstuf/rust-ttl_cache.git", branch = "add-ttl-value" } | ||
... | ... |