Files
pezkuwi-subxt/substrate/frame/aura/Cargo.toml
T
Bastian Köcher 5d73e960da Convert timestamp to unit type wrapper (#8333)
The timestamp inherent type was up to now just a simple `u64`. This
worked, but doesn't give you that much guarantees at compile time about
the type. This pr changes that by converting this type to a unit type
wrapper, similar to what we have done for `Slot`.

This is required for some future pr that touches quite a lot of the
inherents stuff :)

Besides this unit wrapper type, this pr also moves the `OnTimestampSet`
trait to `frame_support::traits`.
2021-03-11 23:33:34 +01:00

47 lines
1.7 KiB
TOML

[package]
name = "pallet-aura"
version = "3.0.0"
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018"
license = "Apache-2.0"
homepage = "https://substrate.dev"
repository = "https://github.com/paritytech/substrate/"
description = "FRAME AURA consensus pallet"
readme = "README.md"
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
sp-application-crypto = { version = "3.0.0", default-features = false, path = "../../primitives/application-crypto" }
codec = { package = "parity-scale-codec", version = "2.0.0", default-features = false, features = ["derive"] }
sp-std = { version = "3.0.0", default-features = false, path = "../../primitives/std" }
serde = { version = "1.0.101", optional = true }
pallet-session = { version = "3.0.0", default-features = false, path = "../session" }
sp-runtime = { version = "3.0.0", default-features = false, path = "../../primitives/runtime" }
frame-support = { version = "3.0.0", default-features = false, path = "../support" }
sp-consensus-aura = { version = "0.9.0", path = "../../primitives/consensus/aura", default-features = false }
frame-system = { version = "3.0.0", default-features = false, path = "../system" }
pallet-timestamp = { version = "3.0.0", default-features = false, path = "../timestamp" }
[dev-dependencies]
sp-core = { version = "3.0.0", default-features = false, path = "../../primitives/core" }
sp-io ={ version = "3.0.0", path = "../../primitives/io" }
lazy_static = "1.4.0"
parking_lot = "0.11.1"
[features]
default = ["std"]
std = [
"sp-application-crypto/std",
"codec/std",
"sp-std/std",
"serde",
"sp-runtime/std",
"frame-support/std",
"sp-consensus-aura/std",
"frame-system/std",
"pallet-timestamp/std",
]
try-runtime = ["frame-support/try-runtime"]