Cargo.toml 876 B

123456789101112131415161718192021222324252627282930313233343536
  1. [package]
  2. name = "anchor-syn"
  3. version = "0.31.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. # `idl-build` feature only
  24. cargo_toml = { version = "0.19", optional = true }
  25. heck = "0.3"
  26. proc-macro2 = { version = "1", features = ["span-locations"] }
  27. quote = "1"
  28. serde = { version = "1", features = ["derive"] }
  29. serde_json = "1"
  30. sha2 = "0.10"
  31. syn = { version = "1", features = ["full", "extra-traits", "parsing"] }
  32. thiserror = "1"