34 lines
916 B
TOML
34 lines
916 B
TOML
[package]
|
|
name = "sp-debug-derive"
|
|
version = "14.0.0"
|
|
authors.workspace = true
|
|
edition.workspace = true
|
|
license = "Apache-2.0"
|
|
homepage.workspace = true
|
|
repository.workspace = true
|
|
description = "Macros to derive runtime debug implementation."
|
|
documentation = "https://docs.rs/sp-debug-derive"
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[package.metadata.docs.rs]
|
|
targets = ["x86_64-unknown-linux-gnu"]
|
|
|
|
[lib]
|
|
proc-macro = true
|
|
|
|
[dependencies]
|
|
proc-macro2 = { workspace = true }
|
|
quote = { workspace = true }
|
|
syn = { workspace = true }
|
|
|
|
[features]
|
|
default = ["std"]
|
|
std = []
|
|
# By default `RuntimeDebug` implements `Debug` that outputs `<wasm:stripped>` when `std` is
|
|
# disabled. However, sometimes downstream users need to have the real `Debug` implementation for
|
|
# debugging purposes. If this is required, a user only needs to add this crate as a dependency of
|
|
# their runtime and enable the `force-debug` feature.
|
|
force-debug = []
|