[package]
edition = "2021"
name = "light-profiler-macro"
version = "0.1.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Procedural macros for light-program-profiler"
homepage = "https://github.com/Lightprotocol/light-program-profiler"
readme = false
license = "Apache-2.0"
repository = "https://github.com/Lightprotocol/light-program-profiler"
[features]
inline = []
profile-heap = []
profile-program = []
[lib]
name = "light_profiler_macro"
path = "src/lib.rs"
proc-macro = true
[[test]]
name = "macro_test"
path = "tests/macro_test.rs"
[dependencies.proc-macro2]
version = "1"
[dependencies.quote]
version = "1"
[dependencies.syn]
version = "2"
features = ["full"]
[lints.rust.unexpected_cfgs]
level = "allow"
priority = 0
check-cfg = [
'cfg(target_os, values("solana"))',
'cfg(feature, values("frozen-abi", "no-entrypoint"))',
]