Cargo.toml 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. [package]
  2. name = "anchor-spl"
  3. version = "0.27.0"
  4. authors = ["Serum Foundation <foundation@projectserum.com>"]
  5. rust-version = "1.60"
  6. edition = "2021"
  7. license = "Apache-2.0"
  8. description = "CPI clients for SPL programs"
  9. [features]
  10. default = ["mint", "token", "token_2022", "associated_token"]
  11. mint = []
  12. token = ["spl-token"]
  13. token_2022 = ["spl-token-2022"]
  14. associated_token = ["spl-associated-token-account"]
  15. governance = []
  16. shmem = []
  17. stake = ["borsh"]
  18. devnet = []
  19. metadata = ["mpl-token-metadata"]
  20. dex = ["serum_dex"]
  21. [dependencies]
  22. anchor-lang = { path = "../lang", version = "0.27.0", features = ["derive"] }
  23. borsh = { version = "^0.9", optional = true }
  24. serum_dex = { git = "https://github.com/openbook-dex/program/", rev = "1be91f2", version = "0.4.0", features = ["no-entrypoint"], optional = true }
  25. solana-program = "1.14.16"
  26. spl-token = { version = "3.5.0", features = ["no-entrypoint"], optional = true }
  27. spl-token-2022 = { version = "0.6.1", features = ["no-entrypoint"], optional = true }
  28. spl-associated-token-account = { version = "1.1.1", features = ["no-entrypoint"], optional = true }
  29. mpl-token-metadata = { version = "^1.11.0", optional = true, features = ["no-entrypoint"] }
  30. # TODO: Remove after Solana release v1.16
  31. # Latest solana version(1.14.17) as of 2023-05-01 comes with rustc 1.62.0-dev but MSRV for latest
  32. # version of this crate is 1.64.0. See https://github.com/solana-labs/solana/pull/31418
  33. winnow = "=0.4.1"
  34. toml_datetime = "=0.6.1"