Cargo.toml 898 B

12345678910111213141516171819202122232425262728293031323334353637
  1. [package]
  2. name = "anchor-syn"
  3. version = "0.30.0"
  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. rust-version = "1.60"
  9. edition = "2021"
  10. [package.metadata.docs.rs]
  11. all-features = true
  12. rustdoc-args = ["--cfg", "docsrs"]
  13. [features]
  14. allow-missing-optionals = []
  15. anchor-debug = []
  16. event-cpi = []
  17. hash = []
  18. idl-build = ["cargo_toml"]
  19. init-if-needed = []
  20. interface-instructions = []
  21. [dependencies]
  22. anyhow = "1"
  23. bs58 = "0.5"
  24. heck = "0.3"
  25. proc-macro2 = { version = "1", features = ["span-locations"] }
  26. quote = "1"
  27. serde = { version = "1", features = ["derive"] }
  28. serde_json = "1"
  29. sha2 = "0.10"
  30. syn = { version = "1", features = ["full", "extra-traits", "parsing"] }
  31. thiserror = "1"
  32. # `idl-build` feature only
  33. cargo_toml = { version = "0.19", optional = true }