[package]
edition = "2021"
name = "anchor-syn"
version = "0.31.2"
authors = ["Anchor Maintainers <accounts@200ms.io>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Anchor syntax parsing and code generation tools"
readme = false
license = "Apache-2.0"
repository = "https://github.com/otter-sec/anchor"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
"--cfg",
"docsrs",
]
[features]
allow-missing-optionals = []
anchor-debug = []
event-cpi = []
hash = []
idl-build = ["cargo_toml"]
init-if-needed = []
interface-instructions = []
[lib]
name = "anchor_syn"
path = "src/lib.rs"
[dependencies.anyhow]
version = "1"
[dependencies.bs58]
version = "0.5"
[dependencies.cargo_toml]
version = "0.19"
optional = true
[dependencies.heck]
version = "0.3"
[dependencies.proc-macro2]
version = "1"
features = ["span-locations"]
[dependencies.quote]
version = "1"
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.sha2]
version = "0.10"
[dependencies.syn]
version = "1"
features = [
"full",
"extra-traits",
"parsing",
]
[dependencies.thiserror]
version = "1"
[lints.rust.unexpected_cfgs]
level = "allow"
priority = 0
check-cfg = ["cfg(procmacro2_semver_exempt)"]