Files
pezkuwi-subxt/substrate/client/offchain/Cargo.toml
T
Liam Aharon 4a293bc5a2 Enforce consistent and correct toml formatting (#2518)
Using taplo, fixes all our broken and inconsistent toml formatting and
adds CI to keep them tidy.

If people want we can customise the format rules as described here
https://taplo.tamasfe.dev/configuration/formatter-options.html

@ggwpez, I suggest zepter is used only for checking features are
propagated, and leave formatting for taplo to avoid duplicate work and
conflicts.

TODO
- [x] Use `exclude = [...]` syntax in taplo file to ignore zombienet
tests instead of deleting the dir

---------

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
Co-authored-by: Bastian Köcher <git@kchr.de>
2023-12-01 07:38:02 +00:00

57 lines
1.8 KiB
TOML

[package]
description = "Substrate offchain workers"
name = "sc-offchain"
version = "4.0.0-dev"
license = "GPL-3.0-or-later WITH Classpath-exception-2.0"
authors.workspace = true
edition.workspace = true
homepage = "https://substrate.io"
repository.workspace = true
readme = "README.md"
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
array-bytes = "6.1"
bytes = "1.1"
codec = { package = "parity-scale-codec", version = "3.6.1", features = ["derive"] }
fnv = "1.0.6"
futures = "0.3.21"
futures-timer = "3.0.2"
hyper = { version = "0.14.16", features = ["http2", "stream"] }
hyper-rustls = { version = "0.24.0", features = ["http2"] }
libp2p = "0.51.3"
num_cpus = "1.13"
once_cell = "1.8"
parking_lot = "0.12.1"
rand = "0.8.5"
threadpool = "1.7"
tracing = "0.1.29"
sc-client-api = { path = "../api" }
sc-network = { path = "../network" }
sc-network-common = { path = "../network/common" }
sc-transaction-pool-api = { path = "../transaction-pool/api" }
sc-utils = { path = "../utils" }
sp-api = { path = "../../primitives/api" }
sp-core = { path = "../../primitives/core" }
sp-offchain = { path = "../../primitives/offchain" }
sp-runtime = { path = "../../primitives/runtime" }
sp-keystore = { path = "../../primitives/keystore" }
sp-externalities = { path = "../../primitives/externalities" }
log = "0.4.17"
[dev-dependencies]
lazy_static = "1.4.0"
tokio = "1.22.0"
sc-block-builder = { path = "../block-builder" }
sc-client-db = { path = "../db", default-features = true }
sc-transaction-pool = { path = "../transaction-pool" }
sc-transaction-pool-api = { path = "../transaction-pool/api" }
sp-consensus = { path = "../../primitives/consensus/common" }
sp-tracing = { path = "../../primitives/tracing" }
substrate-test-runtime-client = { path = "../../test-utils/runtime/client" }
[features]
default = []