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