mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 16:57:58 +00:00
47c7447106
* Offchain-worker: Make it possible to disable http support If a chain doesn't require http support in its offchain workers, this pr enables them to disable the http support. * Switch to bitflags * Use Capabilities * Update client/offchain/src/lib.rs Co-authored-by: Tomasz Drwięga <tomusdrw@users.noreply.github.com> * Fix test * Update client/offchain/src/lib.rs Co-authored-by: Tomasz Drwięga <tomusdrw@users.noreply.github.com> Co-authored-by: Tomasz Drwięga <tomusdrw@users.noreply.github.com>
51 lines
1.8 KiB
TOML
51 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 = ["Parity Technologies <admin@parity.io>"]
|
|
edition = "2018"
|
|
homepage = "https://substrate.io"
|
|
repository = "https://github.com/paritytech/substrate/"
|
|
readme = "README.md"
|
|
|
|
[package.metadata.docs.rs]
|
|
targets = ["x86_64-unknown-linux-gnu"]
|
|
|
|
[dependencies]
|
|
bytes = "1.0"
|
|
codec = { package = "parity-scale-codec", version = "2.0.0", features = ["derive"] }
|
|
hex = "0.4"
|
|
fnv = "1.0.6"
|
|
futures = "0.3.9"
|
|
futures-timer = "3.0.1"
|
|
log = "0.4.8"
|
|
num_cpus = "1.10"
|
|
parking_lot = "0.11.1"
|
|
rand = "0.7.2"
|
|
sc-client-api = { version = "4.0.0-dev", path = "../api" }
|
|
sc-network = { version = "0.10.0-dev", path = "../network" }
|
|
sp-api = { version = "4.0.0-dev", path = "../../primitives/api" }
|
|
sp-core = { version = "4.0.0-dev", path = "../../primitives/core" }
|
|
sp-offchain = { version = "4.0.0-dev", path = "../../primitives/offchain" }
|
|
sp-runtime = { version = "4.0.0-dev", path = "../../primitives/runtime" }
|
|
sc-utils = { version = "4.0.0-dev", path = "../utils" }
|
|
threadpool = "1.7"
|
|
hyper = "0.14.11"
|
|
hyper-rustls = "0.22.1"
|
|
once_cell = "1.8"
|
|
|
|
[dev-dependencies]
|
|
sc-client-db = { version = "0.10.0-dev", default-features = true, path = "../db" }
|
|
sc-block-builder = { version = "0.10.0-dev", path = "../block-builder" }
|
|
sc-transaction-pool = { version = "4.0.0-dev", path = "../transaction-pool" }
|
|
sc-transaction-pool-api = { version = "4.0.0-dev", path = "../transaction-pool/api" }
|
|
sp-tracing = { version = "4.0.0-dev", path = "../../primitives/tracing" }
|
|
sp-consensus = { version = "0.10.0-dev", path = "../../primitives/consensus/common" }
|
|
substrate-test-runtime-client = { version = "2.0.0", path = "../../test-utils/runtime/client" }
|
|
tokio = "1.10"
|
|
lazy_static = "1.4.0"
|
|
|
|
[features]
|
|
default = []
|