Cargo.toml 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. [package]
  2. name = "anchor-syn"
  3. version = "0.30.1"
  4. authors = ["Anchor Maintainers <accounts@200ms.io>"]
  5. repository = "https://github.com/coral-xyz/anchor"
  6. license = "Apache-2.0"
  7. description = "Anchor syntax parsing and code generation tools"
  8. edition = "2021"
  9. [package.metadata.docs.rs]
  10. all-features = true
  11. rustdoc-args = ["--cfg", "docsrs"]
  12. [features]
  13. allow-missing-optionals = []
  14. anchor-debug = []
  15. event-cpi = []
  16. hash = []
  17. idl-build = ["cargo_toml"]
  18. init-if-needed = []
  19. interface-instructions = []
  20. [dependencies]
  21. anyhow = "1"
  22. bs58 = "0.5"
  23. heck = "0.3"
  24. proc-macro2 = { version = "1", features = ["span-locations"] }
  25. quote = "1"
  26. serde = { version = "1", features = ["derive"] }
  27. serde_json = "1"
  28. sha2 = "0.10"
  29. syn = { version = "1", features = ["full", "extra-traits", "parsing"] }
  30. thiserror = "1"
  31. # `idl-build` feature only
  32. cargo_toml = { version = "0.19", optional = true }
  33. # https://blog.rust-lang.org/2024/05/06/check-cfg.html#expecting-custom-cfgs
  34. [lints.rust]
  35. unexpected_cfgs = { level = "allow", check-cfg = ["cfg(procmacro2_semver_exempt)"] }