Files
pezkuwi-subxt/substrate/primitives/consensus/aura/Cargo.toml
T
2023-06-27 13:33:42 +00:00

49 lines
1.6 KiB
TOML

[package]
name = "sp-consensus-aura"
version = "0.10.0-dev"
authors = ["Parity Technologies <admin@parity.io>"]
description = "Primitives for Aura consensus"
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]
async-trait = { version = "0.1.57", optional = true }
codec = { package = "parity-scale-codec", version = "3.6.1", default-features = false }
scale-info = { version = "2.5.0", default-features = false, features = ["derive"] }
sp-api = { version = "4.0.0-dev", default-features = false, path = "../../api" }
sp-application-crypto = { version = "23.0.0", default-features = false, path = "../../application-crypto" }
sp-consensus-slots = { version = "0.10.0-dev", default-features = false, path = "../slots" }
sp-inherents = { version = "4.0.0-dev", default-features = false, path = "../../inherents" }
sp-runtime = { version = "24.0.0", default-features = false, path = "../../runtime" }
sp-std = { version = "8.0.0", default-features = false, path = "../../std" }
sp-timestamp = { version = "4.0.0-dev", default-features = false, path = "../../timestamp" }
[features]
default = ["std"]
std = [
"async-trait",
"codec/std",
"scale-info/std",
"sp-api/std",
"sp-application-crypto/std",
"sp-consensus-slots/std",
"sp-inherents/std",
"sp-runtime/std",
"sp-std/std",
"sp-timestamp/std",
]
# Serde support without relying on std features.
serde = [
"scale-info/serde",
"sp-application-crypto/serde",
"sp-consensus-slots/serde",
"sp-runtime/serde",
]