anchor/spl/Cargo.toml

32 lines
1.2 KiB
TOML
Raw Normal View History

2021-01-15 19:16:17 -08:00
[package]
name = "anchor-spl"
2023-03-08 05:28:23 -08:00
version = "0.27.0"
2021-01-31 06:32:30 -08:00
authors = ["Serum Foundation <foundation@projectserum.com>"]
rust-version = "1.60"
2022-03-12 14:39:21 -08:00
edition = "2021"
2021-01-31 06:32:30 -08:00
license = "Apache-2.0"
description = "CPI clients for SPL programs"
2021-01-15 19:16:17 -08:00
[features]
default = ["mint", "token", "token_2022", "associated_token"]
mint = []
2022-01-30 09:35:00 -08:00
token = ["spl-token"]
token_2022 = ["spl-token-2022"]
2022-01-30 09:35:00 -08:00
associated_token = ["spl-associated-token-account"]
governance = []
shmem = []
2022-09-24 11:11:12 -07:00
stake = ["borsh"]
devnet = []
metadata = ["mpl-token-metadata"]
dex = ["serum_dex"]
2021-01-15 19:16:17 -08:00
[dependencies]
2023-03-08 05:28:23 -08:00
anchor-lang = { path = "../lang", version = "0.27.0", features = ["derive"] }
2022-09-24 11:11:12 -07:00
borsh = { version = "^0.9", 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.14.16"
spl-token = { version = "3.5.0", features = ["no-entrypoint"], optional = true }
spl-token-2022 = { version = "0.5.0", features = ["no-entrypoint"], optional = true }
spl-associated-token-account = { version = "1.1.1", features = ["no-entrypoint"], optional = true }
mpl-token-metadata = { version = "^1.9.0", optional = true, features = ["no-entrypoint"] }