[package]
name = "sp-authorship"
version = "4.0.0-dev"
authors = ["Parity Technologies <admin@parity.io>"]
description = "Authorship primitives"
edition = "2021"
license = "Apache-2.0"
homepage = "https://substrate.io"
repository = "https://github.com/paritytech/substrate/"
readme = "README.md"

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

[dependencies]
sp-inherents = { version = "4.0.0-dev", default-features = false, path = "../inherents" }
sp-runtime = { version = "5.0.0", default-features = false, path = "../runtime" }
sp-std = { version = "4.0.0", default-features = false, path = "../std" }
codec = { package = "parity-scale-codec", version = "2.0.0", default-features = false, features = ["derive"] }
async-trait = { version = "0.1.50", optional = true }

[features]
default = [ "std" ]
std = [
	"codec/std",
	"sp-std/std",
	"sp-inherents/std",
	"sp-runtime/std",
	"async-trait",
]
