[package]
name = "sr-api-macros"
version = "2.0.0"
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2018"

[lib]
proc-macro = true

[dependencies]
quote = "0.6.12"
syn = { version = "^0.15.30", features = [ "full", "fold", "extra-traits", "visit" ] }
proc-macro2 = "0.4"
blake2-rfc = "0.2"
proc-macro-crate = "0.1.3"

[dev-dependencies]
client = { package = "substrate-client", path = "../client" }
test-client = { package = "substrate-test-runtime-client", path = "../test-runtime/client" }
state_machine = { package = "substrate-state-machine", path = "../state-machine" }
sr-primitives = {  path = "../sr-primitives" }
sr-version = { path = "../sr-version" }
primitives = { package = "substrate-primitives",  path = "../primitives" }
criterion = "0.2"
consensus_common = { package = "substrate-consensus-common", path = "../consensus/common" }
codec = { package = "parity-scale-codec", version = "1.0.0" }
trybuild = "1.0"
rustversion = "0.1"

[[bench]]
name = "bench"
harness = false