[package]
name = "sp-api-proc-macro"
version = "20.0.0"
authors.workspace = true
edition.workspace = true
license = "Apache-2.0"
homepage = "https://substrate.io"
repository.workspace = true
description = "Macros for declaring and implementing runtime apis. (polkadot v1.13.0)"
documentation = "https://docs.rs/sp-api-proc-macro"
[lints]
workspace = true
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
[lib]
proc-macro = true
[dependencies]
quote = { workspace = true }
syn = { features = ["extra-traits", "fold", "full", "visit"], workspace = true }
proc-macro2 = "1.0.56"
blake2 = { version = "0.10.4", default-features = false }
proc-macro-crate = "3.0.0"
expander = "2.0.0"
Inflector = "0.11.4"
[dev-dependencies]
assert_matches = "1.3.0"
[features]
default = ["std"]
std = ["blake2/std"]
no-metadata-docs = []