Cargo.toml 1.0 KB

1234567891011121314151617181920212223242526272829
  1. [package]
  2. name = "anchor-spl"
  3. version = "0.26.0"
  4. authors = ["Serum Foundation <foundation@projectserum.com>"]
  5. rust-version = "1.59"
  6. edition = "2021"
  7. license = "Apache-2.0"
  8. description = "CPI clients for SPL programs"
  9. [features]
  10. default = ["mint", "token", "associated_token"]
  11. mint = []
  12. token = ["spl-token"]
  13. associated_token = ["spl-associated-token-account"]
  14. governance = []
  15. shmem = []
  16. stake = ["borsh"]
  17. devnet = []
  18. metadata = ["mpl-token-metadata"]
  19. dex = ["serum_dex"]
  20. [dependencies]
  21. anchor-lang = { path = "../lang", version = "0.26.0", features = ["derive"] }
  22. borsh = { version = "^0.9", optional = true }
  23. serum_dex = { git = "https://github.com/openbook-dex/program/", rev = "1be91f2", version = "0.4.0", features = ["no-entrypoint"], optional = true }
  24. solana-program = "1.13.5"
  25. spl-token = { version = "3.5.0", features = ["no-entrypoint"], optional = true }
  26. spl-associated-token-account = { version = "1.1.1", features = ["no-entrypoint"], optional = true }
  27. mpl-token-metadata = { version = "1.4.3", optional = true, features = ["no-entrypoint"] }