[package] name = "anchor-spl" version = "0.29.0" authors = ["Anchor Maintainers "] rust-version = "1.60" edition = "2021" license = "Apache-2.0" description = "CPI clients for SPL programs" [package.metadata.docs.rs] all-features = true rustdoc-args = ["--cfg", "docsrs"] [features] default = ["associated_token", "mint", "token", "token_2022"] associated_token = ["spl-associated-token-account"] dex = ["serum_dex"] devnet = [] governance = [] idl-build = ["anchor-lang/idl-build"] memo = ["spl-memo"] metadata = ["mpl-token-metadata"] mint = [] stake = ["borsh"] token = ["spl-token"] token_2022 = ["spl-token-2022"] [dependencies] anchor-lang = { path = "../lang", version = "0.29.0", features = ["derive"] } borsh = { version = ">=0.9, <0.11", optional = true } mpl-token-metadata = { version = "3.1.0", optional = true } serum_dex = { git = "https://github.com/openbook-dex/program/", rev = "1be91f2", version = "0.4.0", features = ["no-entrypoint"], optional = true } solana-program = ">=1.16, <1.18" spl-associated-token-account = { version = "2.2", features = ["no-entrypoint"], optional = true } spl-memo = { version = "4", features = ["no-entrypoint"], optional = true } spl-token = { version = "4", features = ["no-entrypoint"], optional = true } spl-token-2022 = { version = "0.9", features = ["no-entrypoint"], optional = true } # TODO: Remove after https://github.com/coral-xyz/anchor/pull/2795 is merged. # `toml_edit 0.21.1` has MSRV of `1.69.0` which is above `1.68.0` that comes from `solana-cli 1.17`. toml_edit = "=0.21.0"