Files
pezkuwi-subxt/substrate/client/cli/Cargo.toml
T
Cecile Tonglet de3181076a Graceful shutdown for the task manager (#6654)
* Initial commit

Forked at: 74655edebc
Parent branch: origin/master

* Move task_manager.rs to mod.rs

* Graceful shutdown for the task manager

* Await all background task JoinHandle at the same time

* Add tests

* Make future() wait also for exit signal + fix essential task failed

Probably related to https://github.com/paritytech/cumulus/issues/111

* add comments for non-obvious code

* Use clean_shutdown() in sc-cli

* Adapt code and upgrade tokio in sc-cli

* cleanup spacing in doc

* Add license

* I guess actually running the clean shutdown would be a good idea

* fix tests

* Update client/cli/src/runner.rs

Co-authored-by: Benjamin Kampmann <ben@gnunicorn.org>

* Improve error logging

* disable other tests (can't reproduce on my machine)

* Revert "disable other tests (can't reproduce on my machine)"

This reverts commit c133c590f33c253123ba0555ce719a71ededd60d.

* It is possible that the tasks are ended first

* Revert "It is possible that the tasks are ended first"

This reverts commit 502aba4a49fb5d892e704c412b8a81768a3f2c71.

* Use single threaded scheduler for more predictability

* enable_time

* Revert "enable_time"

This reverts commit 4e152140764a4bddeedff06a4e36ec701909e8c7.

* Revert "Use single threaded scheduler for more predictability"

This reverts commit ee5e13c5f13ff71e012dcda13579dffeb15f8ffc.

* Revert "Revert "It is possible that the tasks are ended first""

This reverts commit 1b91a8ca3eebbdc18be199c8ca188e88669ae649.

* This cannot be verified either with a threaded pool

* Apply suggestions from code review

Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>

Co-authored-by: Benjamin Kampmann <ben@parity.io>
Co-authored-by: Benjamin Kampmann <ben@gnunicorn.org>
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>
2020-07-22 07:15:22 +00:00

61 lines
2.1 KiB
TOML

[package]
name = "sc-cli"
version = "0.8.0-rc5"
authors = ["Parity Technologies <admin@parity.io>"]
description = "Substrate CLI interface."
edition = "2018"
license = "GPL-3.0-or-later WITH Classpath-exception-2.0"
homepage = "https://substrate.dev"
repository = "https://github.com/paritytech/substrate/"
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
derive_more = "0.99.2"
env_logger = "0.7.0"
log = "0.4.8"
atty = "0.2.13"
regex = "1.3.1"
time = "0.1.42"
ansi_term = "0.12.1"
lazy_static = "1.4.0"
tokio = { version = "0.2.21", features = [ "signal", "rt-core", "rt-threaded", "blocking" ] }
futures = "0.3.4"
fdlimit = "0.1.4"
serde_json = "1.0.41"
sc-informant = { version = "0.8.0-rc5", path = "../informant" }
sp-panic-handler = { version = "2.0.0-rc5", path = "../../primitives/panic-handler" }
sc-client-api = { version = "2.0.0-rc5", path = "../api" }
sp-blockchain = { version = "2.0.0-rc5", path = "../../primitives/blockchain" }
sc-network = { version = "0.8.0-rc5", path = "../network" }
sp-runtime = { version = "2.0.0-rc5", path = "../../primitives/runtime" }
sp-utils = { version = "2.0.0-rc5", path = "../../primitives/utils" }
sp-version = { version = "2.0.0-rc5", path = "../../primitives/version" }
sp-core = { version = "2.0.0-rc5", path = "../../primitives/core" }
sc-service = { version = "0.8.0-rc5", default-features = false, path = "../service" }
sp-state-machine = { version = "0.8.0-rc5", path = "../../primitives/state-machine" }
sc-telemetry = { version = "2.0.0-rc5", path = "../telemetry" }
substrate-prometheus-endpoint = { path = "../../utils/prometheus" , version = "0.8.0-rc5"}
sp-keyring = { version = "2.0.0-rc5", path = "../../primitives/keyring" }
names = "0.11.0"
structopt = "0.3.8"
sc-tracing = { version = "2.0.0-rc5", path = "../tracing" }
chrono = "0.4.10"
parity-util-mem = { version = "0.7.0", default-features = false, features = ["primitive-types"] }
serde = "1.0.111"
[target.'cfg(not(target_os = "unknown"))'.dependencies]
rpassword = "4.0.1"
[target.'cfg(target_family = "unix")'.dependencies]
nix = "0.17.0"
[dev-dependencies]
tempfile = "3.1.0"
[features]
wasmtime = [
"sc-service/wasmtime",
]