mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 14:37:57 +00:00
d1b0ef76a8
While `sp-api-proc-macro` isn't used directly and thus, it should have the same features enabled as `sp-api`. However, I have seen issues around `frame-metadata` not being enabled for `sp-api`, but for `sp-api-proc-macro`. This can be prevented by using the `frame_metadata_enabled` macro from `sp-api` that ensures we have the same feature set between both crates.
38 lines
850 B
TOML
38 lines
850 B
TOML
[package]
|
|
name = "sp-api-proc-macro"
|
|
version = "15.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."
|
|
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]
|
|
# Required for the doc tests
|
|
default = ["std"]
|
|
std = ["blake2/std"]
|
|
no-metadata-docs = []
|