[package]
name = "sp-timestamp"
version = "2.0.0-rc2"
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018"
license = "Apache-2.0"
homepage = "https://substrate.dev"
repository = "https://github.com/paritytech/substrate/"
description = "Substrate core types and inherents for timestamps."

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

[dependencies]
sp-api = { version = "2.0.0-rc2", default-features = false, path = "../api" }
sp-std = { version = "2.0.0-rc2", default-features = false, path = "../std" }
sp-runtime = { version = "2.0.0-rc2", default-features = false, path = "../runtime" }
codec = { package = "parity-scale-codec", version = "1.3.0", default-features = false, features = ["derive"] }
sp-inherents = { version = "2.0.0-rc2", default-features = false, path = "../inherents" }
impl-trait-for-tuples = "0.1.3"
wasm-timer = { version = "0.2", optional = true }

[features]
default = [ "std" ]
std = [
	"sp-api/std",
	"sp-std/std",
	"sp-runtime/std",
	"codec/std",
	"sp-inherents/std",
	"wasm-timer",
]
