Cargo.toml 926 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. [package]
  2. name = "anchor-syn"
  3. version = "0.29.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 = ["idl-types", "cargo_toml"]
  19. idl-types = []
  20. init-if-needed = []
  21. interface-instructions = []
  22. [dependencies]
  23. anyhow = "1"
  24. bs58 = "0.5"
  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"
  33. # `idl-build` feature only
  34. cargo_toml = { version = "0.19", optional = true }