Cargo.toml 1.2 KB

1234567891011121314151617181920212223242526272829303132
  1. [package]
  2. name = "anchor-spl"
  3. version = "0.28.0"
  4. authors = ["Anchor Maintainers <accounts@200ms.io>"]
  5. rust-version = "1.60"
  6. edition = "2021"
  7. license = "Apache-2.0"
  8. description = "CPI clients for SPL programs"
  9. [features]
  10. default = ["associated_token", "mint", "token", "token_2022"]
  11. associated_token = ["spl-associated-token-account"]
  12. dex = ["serum_dex"]
  13. devnet = []
  14. governance = []
  15. idl-build = ["anchor-lang/idl-build"]
  16. metadata = ["mpl-token-metadata"]
  17. mint = []
  18. shmem = []
  19. stake = ["borsh"]
  20. token = ["spl-token"]
  21. token_2022 = ["spl-token-2022"]
  22. [dependencies]
  23. anchor-lang = { path = "../lang", version = "0.28.0", features = ["derive"] }
  24. borsh = { version = ">=0.9, <0.11", optional = true }
  25. mpl-token-metadata = { version = "1.11", optional = true, features = ["no-entrypoint"] }
  26. serum_dex = { git = "https://github.com/openbook-dex/program/", rev = "1be91f2", version = "0.4.0", features = ["no-entrypoint"], optional = true }
  27. solana-program = ">=1.14, <1.17"
  28. spl-associated-token-account = { version = "^1.1", features = ["no-entrypoint"], optional = true }
  29. spl-token = { version = "3.5", features = ["no-entrypoint"], optional = true }
  30. spl-token-2022 = { version = "0.6", features = ["no-entrypoint"], optional = true }