[package]
edition = "2024"
name = "anchor-parser"
version = "2.1.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Generate Rust types and helpers from Anchor IDL JSON files using solana-sdk directly — no anchor-lang dependency"
readme = "README.md"
keywords = [
"solana",
"anchor",
"idl",
"parser",
]
categories = [
"development-tools",
"parsing",
]
license = "MIT"
repository = "https://github.com/goni098/anchor-parser"
resolver = "2"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
"--cfg",
"docsrs",
]
[lib]
name = "anchor_parser"
path = "src/lib.rs"
[[test]]
name = "meteora"
path = "tests/meteora.rs"
[[test]]
name = "meteora_dlmm"
path = "tests/meteora_dlmm.rs"
[[test]]
name = "pumpfun"
path = "tests/pumpfun.rs"
[[test]]
name = "raydium"
path = "tests/raydium.rs"
[dependencies.anchor-parser-macros]
version = "2.1.0"
[dependencies.base64]
version = "0.22"
[dependencies.borsh]
version = "1"
[dependencies.bs58]
version = "0.5"
[dependencies.bytemuck]
version = "1"
features = ["derive"]
[dependencies.solana-sdk]
version = "3"
[dev-dependencies.solana-client]
version = "3"
[dev-dependencies.solana-system-interface]
version = "3"
[dev-dependencies.tokio]
version = "1"
features = [
"rt",
"macros",
]