Files
pezkuwi-subxt/substrate/client/service/test/Cargo.toml
T
Nazar Mokrynskyi 079b14f624 Do not panic if the fdlimit call to increase the file descriptor limit fails (#2155)
# Description

Sometimes changing file descriptor limits is not allowed, but there is
no need to crash the node if/when this happens. Since `fdlimit`'s author
decided to use panics instead of returning `Result`, we need to catch
it.

# Checklist

- [x] My PR includes a detailed description as outlined in the
"Description" section above
- [ ] My PR follows the [labeling requirements](CONTRIBUTING.md#Process)
of this project (at minimum one label for `T`
  required)
- [ ] I have made corresponding changes to the documentation (if
applicable)
- [ ] I have added tests that prove my fix is effective or that my
feature works (if applicable)

---------

Co-authored-by: Koute <koute@users.noreply.github.com>
2023-11-17 17:01:08 +01:00

45 lines
1.6 KiB
TOML

[package]
name = "sc-service-test"
version = "2.0.0"
authors.workspace = true
edition.workspace = true
license = "GPL-3.0-or-later WITH Classpath-exception-2.0"
publish = false
homepage = "https://substrate.io"
repository.workspace = true
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
async-channel = "1.8.0"
array-bytes = "6.1"
fdlimit = "0.3.0"
futures = "0.3.21"
log = "0.4.17"
parity-scale-codec = "3.6.1"
parking_lot = "0.12.1"
tempfile = "3.1.0"
tokio = { version = "1.22.0", features = ["time"] }
sc-block-builder = { path = "../../block-builder" }
sc-client-api = { path = "../../api" }
sc-client-db = { path = "../../db", default-features = false}
sc-consensus = { path = "../../consensus/common" }
sc-executor = { path = "../../executor" }
sc-network = { path = "../../network" }
sc-network-sync = { path = "../../network/sync" }
sc-service = { path = "..", features = ["test-helpers"]}
sc-transaction-pool-api = { path = "../../transaction-pool/api" }
sp-api = { path = "../../../primitives/api" }
sp-blockchain = { path = "../../../primitives/blockchain" }
sp-consensus = { path = "../../../primitives/consensus/common" }
sp-core = { path = "../../../primitives/core" }
sp-runtime = { path = "../../../primitives/runtime" }
sp-state-machine = { path = "../../../primitives/state-machine" }
sp-storage = { path = "../../../primitives/storage" }
sp-tracing = { path = "../../../primitives/tracing" }
sp-trie = { path = "../../../primitives/trie" }
sp-io = { path = "../../../primitives/io" }
substrate-test-runtime = { path = "../../../test-utils/runtime" }
substrate-test-runtime-client = { path = "../../../test-utils/runtime/client" }