[package]
name = "spl-token-2022"
version = "6.0.0"
description = "Solana Program Library Token 2022"
authors = ["Solana Labs Maintainers <maintainers@solanalabs.com>"]
repository = "https://github.com/solana-labs/solana-program-library"
license = "Apache-2.0"
edition = "2021"
exclude = ["js/**"]
[features]
no-entrypoint = []
test-sbf = []
serde-traits = ["dep:serde", "dep:serde_with", "dep:base64", "spl-pod/serde-traits"]
default = ["zk-ops"]
zk-ops = []
[dependencies]
arrayref = "0.3.9"
bytemuck = { version = "1.19.0", features = ["derive"] }
num-derive = "0.4"
num-traits = "0.2"
num_enum = "0.7.3"
solana-program = "2.1.0"
solana-security-txt = "1.1.1"
solana-zk-sdk = "2.1.0"
spl-elgamal-registry = { version = "0.1.0", path = "../confidential-transfer/elgamal-registry", features = ["no-entrypoint"] }
spl-memo = { version = "6.0", path = "../../memo/program", features = [ "no-entrypoint" ] }
spl-token = { version = "7.0", path = "../program", features = ["no-entrypoint"] }
spl-token-confidential-transfer-ciphertext-arithmetic = { version = "0.2.0", path = "../confidential-transfer/ciphertext-arithmetic" }
spl-token-confidential-transfer-proof-extraction = { version = "0.2.0", path = "../confidential-transfer/proof-extraction" }
spl-token-group-interface = { version = "0.5.0", path = "../../token-group/interface" }
spl-token-metadata-interface = { version = "0.6.0", path = "../../token-metadata/interface" }
spl-transfer-hook-interface = { version = "0.9.0", path = "../transfer-hook/interface" }
spl-type-length-value = { version = "0.7.0", path = "../../libraries/type-length-value" }
spl-pod = { version = "0.5.0", path = "../../libraries/pod" }
thiserror = "1.0"
serde = { version = "1.0.214", optional = true }
serde_with = { version = "3.11.0", optional = true }
base64 = { version = "0.22.1", optional = true }
[target.'cfg(not(target_os = "solana"))'.dependencies]
spl-token-confidential-transfer-proof-generation = { version = "0.2.0", path = "../confidential-transfer/proof-generation"}
[dev-dependencies]
lazy_static = "1.5.0"
proptest = "1.5"
serial_test = "3.1.1"
solana-program-test = "2.1.0"
solana-sdk = "2.1.0"
spl-tlv-account-resolution = { version = "0.9.0", path = "../../libraries/tlv-account-resolution" }
serde_json = "1.0.132"
[lib]
crate-type = ["cdylib", "lib"]
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
[lints]
workspace = true