[package]
edition = "2021"
name = "hopper-derive"
version = "0.2.0"
authors = [
"BluefootLabs <contact@bluefootlabs.com>",
"MoonManQuark",
]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Proc macro layer for Hopper. Generates account layouts, typed context accessors, instruction dispatchers, schema metadata, and CPI builders."
homepage = "https://hopperzero.dev"
documentation = "https://docs.rs/crate/hopper-derive/0.2.0"
readme = "README.md"
keywords = [
"solana",
"zero-copy",
"proc-macro",
"codegen",
"hopper",
]
categories = [
"no-std",
"development-tools::procedural-macro-helpers",
]
license = "Apache-2.0"
repository = "https://github.com/BluefootLabs/Hopper-Solana-Zero-copy-State-Framework"
[lib]
name = "hopper_derive"
path = "src/lib.rs"
proc-macro = true
[dependencies.proc-macro2]
version = "1"
[dependencies.quote]
version = "1"
[dependencies.serde_json]
version = "1"
[dependencies.sha2]
version = "0.10"
[dependencies.syn]
version = "2"
features = [
"full",
"extra-traits",
]
[lints.rust.unexpected_cfgs]
level = "allow"
priority = 0
check-cfg = [
'cfg(target_os, values("solana"))',
'cfg(target_arch, values("bpf"))',
]