# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
name = "sc-offchain"
version = "22.1.0-dev.2"
authors = ["Parity Technologies <admin@parity.io>"]
description = "Substrate offchain workers"
homepage = "https://substrate.io"
readme = "README.md"
license = "GPL-3.0-or-later WITH Classpath-exception-2.0"
repository = "https://github.com/paritytech/substrate/"

[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]

[dependencies.array-bytes]
version = "4.1"

[dependencies.bytes]
version = "1.1"

[dependencies.codec]
version = "3.6.1"
features = ["derive"]
package = "parity-scale-codec"

[dependencies.fnv]
version = "1.0.6"

[dependencies.futures]
version = "0.3.21"

[dependencies.futures-timer]
version = "3.0.2"

[dependencies.hyper]
version = "0.14.16"
features = [
    "stream",
    "http2",
]

[dependencies.hyper-rustls]
version = "0.24.0"
features = ["http2"]

[dependencies.libp2p]
version = "0.51.3"

[dependencies.num_cpus]
version = "1.13"

[dependencies.once_cell]
version = "1.8"

[dependencies.parking_lot]
version = "0.12.1"

[dependencies.rand]
version = "0.8.5"

[dependencies.sc-client-api]
version = "21.1.0-dev.2"

[dependencies.sc-network]
version = "0.28.0-dev.2"

[dependencies.sc-utils]
version = "7.1.0-dev.2"

[dependencies.sp-api]
version = "19.1.0-dev.2"

[dependencies.sp-core]
version = "21.1.0-dev.2"

[dependencies.sp-offchain]
version = "19.1.0-dev.2"

[dependencies.sp-runtime]
version = "24.1.0-dev.2"

[dependencies.threadpool]
version = "1.7"

[dependencies.tracing]
version = "0.1.29"

[dev-dependencies.lazy_static]
version = "1.4.0"

[dev-dependencies.tokio]
version = "1.22.0"

[features]
default = []
