Files
pezkuwi-subxt/substrate/primitives/consensus/vrf/Cargo.toml
T
Wei Tang a00a4ca551 Correct BABE randomness by calculating InOut bytes directly in pallet (#5876)
* vrf: remove Raw* types

* babe: remove Raw* types

* pallet-babe: switch representation of RawVRFOutput to Randomness

* pallet-babe: calculate inout within the pallet

* Remove make_transcript duplication

* Bump spec version

* Fix frame tests

* and_then -> map

* Always enable u64_backend

* Fix nostd compile

* fix import: should not use std

* Remove unused definition of RawVRFOutput

* Remove unused import of RuntimeDebug

Co-authored-by: Gavin Wood <gavin@parity.io>
2020-05-04 19:51:47 +02:00

30 lines
948 B
TOML

[package]
name = "sp-consensus-vrf"
version = "0.8.0-dev"
authors = ["Parity Technologies <admin@parity.io>"]
description = "Primitives for VRF based consensus"
edition = "2018"
license = "GPL-3.0"
repository = "https://github.com/paritytech/substrate/"
homepage = "https://substrate.dev"
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
codec = { version = "1.0.0", package = "parity-scale-codec", default-features = false }
schnorrkel = { version = "0.9.1", features = ["preaudit_deprecated", "u64_backend"], default-features = false }
sp-std = { version = "2.0.0-dev", path = "../../std", default-features = false }
sp-core = { version = "2.0.0-dev", path = "../../core", default-features = false }
sp-runtime = { version = "2.0.0-dev", default-features = false, path = "../../runtime" }
[features]
default = ["std"]
std = [
"codec/std",
"schnorrkel/std",
"sp-std/std",
"sp-core/std",
"sp-runtime/std",
]