[package]
name = "sp-tasks"
version = "4.0.0-dev"
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2021"
license = "Apache-2.0"
homepage = "https://substrate.io"
repository = "https://github.com/paritytech/substrate/"
description = "Runtime asynchronous, pure computational tasks"
documentation = "https://docs.rs/sp-tasks"
readme = "README.md"

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

[dependencies]
log = { version = "0.4.8", optional = true }
sp-core = { version = "5.0.0", default-features = false, path = "../core" }
sp-externalities = { version = "0.11.0", optional = true, path = "../externalities" }
sp-io = { version = "5.0.0", default-features = false, path = "../io" }
sp-runtime-interface = { version = "5.0.0", default-features = false, path = "../runtime-interface" }
sp-std = { version = "4.0.0", default-features = false, path = "../std" }

[dev-dependencies]
codec = { package = "parity-scale-codec", default-features = false, version = "2.0.0" }

[features]
default = ["std"]
std = [
	"log",
	"sp-core/std",
	"sp-externalities",
	"sp-io/std",
	"sp-runtime-interface/std",
	"sp-std/std",
]
