mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 15:47:58 +00:00
55 lines
1.8 KiB
TOML
55 lines
1.8 KiB
TOML
[package]
|
|
name = "sp-consensus-babe"
|
|
version = "0.10.0-dev"
|
|
authors = ["Parity Technologies <admin@parity.io>"]
|
|
description = "Primitives for BABE 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"] }
|
|
serde = { version = "1.0.163", default-features = false, features = ["derive", "alloc"], optional = true }
|
|
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-core = { version = "21.0.0", default-features = false, path = "../../core" }
|
|
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", optional = true, path = "../../timestamp" }
|
|
|
|
[features]
|
|
default = ["std"]
|
|
std = [
|
|
"async-trait",
|
|
"codec/std",
|
|
"scale-info/std",
|
|
"serde/std",
|
|
"sp-api/std",
|
|
"sp-application-crypto/std",
|
|
"sp-consensus-slots/std",
|
|
"sp-core/std",
|
|
"sp-inherents/std",
|
|
"sp-runtime/std",
|
|
"sp-std/std",
|
|
"sp-timestamp",
|
|
]
|
|
|
|
# Serde support without relying on std features.
|
|
serde = [
|
|
"dep:serde",
|
|
"scale-info/serde",
|
|
"sp-application-crypto/serde",
|
|
"sp-consensus-slots/serde",
|
|
"sp-core/serde",
|
|
"sp-runtime/serde",
|
|
]
|