Cargo.toml 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. [package]
  2. name = "anchor-lang"
  3. version = "0.28.0"
  4. authors = ["Anchor Maintainers <accounts@200ms.io>"]
  5. repository = "https://github.com/coral-xyz/anchor"
  6. rust-version = "1.60"
  7. edition = "2021"
  8. license = "Apache-2.0"
  9. description = "Solana Sealevel eDSL"
  10. [features]
  11. allow-missing-optionals = ["anchor-derive-accounts/allow-missing-optionals"]
  12. init-if-needed = ["anchor-derive-accounts/init-if-needed"]
  13. derive = []
  14. default = []
  15. event-cpi = ["anchor-attribute-event/event-cpi"]
  16. anchor-debug = [
  17. "anchor-attribute-access-control/anchor-debug",
  18. "anchor-attribute-account/anchor-debug",
  19. "anchor-attribute-constant/anchor-debug",
  20. "anchor-attribute-error/anchor-debug",
  21. "anchor-attribute-event/anchor-debug",
  22. "anchor-attribute-program/anchor-debug",
  23. "anchor-attribute-program/anchor-debug",
  24. "anchor-derive-accounts/anchor-debug"
  25. ]
  26. [dependencies]
  27. anchor-attribute-access-control = { path = "./attribute/access-control", version = "0.28.0" }
  28. anchor-attribute-account = { path = "./attribute/account", version = "0.28.0" }
  29. anchor-attribute-constant = { path = "./attribute/constant", version = "0.28.0" }
  30. anchor-attribute-error = { path = "./attribute/error", version = "0.28.0" }
  31. anchor-attribute-event = { path = "./attribute/event", version = "0.28.0" }
  32. anchor-attribute-program = { path = "./attribute/program", version = "0.28.0" }
  33. anchor-derive-accounts = { path = "./derive/accounts", version = "0.28.0" }
  34. anchor-derive-space = { path = "./derive/space", version = "0.28.0" }
  35. arrayref = "0.3"
  36. base64 = "0.13"
  37. bincode = "1"
  38. borsh = ">=0.9, <0.11"
  39. bytemuck = "1"
  40. solana-program = ">=1.14, <1.17"
  41. thiserror = "1"
  42. # TODO: Remove. This crate has been added to fix a build error with the 1.16.0 release.
  43. getrandom = { version = "0.2", features = ["custom"] }