[dependencies.anchor-lang]
optional = true
version = "0.31.1"
[dependencies.arrayvec]
version = "0.7"
[dependencies.borsh]
default-features = false
version = "0.10.4"
[dependencies.light-account-checks]
default-features = false
features = ["solana"]
version = "0.6.0"
[dependencies.light-batched-merkle-tree]
version = "0.8.0"
[dependencies.light-compressed-account]
default-features = false
features = ["std", "solana"]
version = "0.8.0"
[dependencies.light-compressible]
default-features = false
version = "0.3.0"
[dependencies.light-macros]
version = "2.2.0"
[dependencies.light-program-profiler]
version = "0.1.0"
[dependencies.light-sdk]
features = ["v2", "cpi-context"]
version = "0.18.0"
[dependencies.light-sdk-macros]
optional = true
version = "0.18.0"
[dependencies.light-sdk-types]
default-features = false
features = ["v2"]
version = "0.18.0"
[dependencies.light-token-interface]
version = "0.2.0"
[dependencies.light-token-types]
version = "0.3.0"
[dependencies.light-zero-copy]
default-features = false
version = "0.6.0"
[dependencies.solana-account-info]
version = "2.2"
[dependencies.solana-cpi]
version = "2.2"
[dependencies.solana-instruction]
version = "2.3"
[dependencies.solana-msg]
version = "2.2"
[dependencies.solana-program-error]
version = "2.2"
[dependencies.solana-pubkey]
features = ["sha2", "curve25519"]
version = "2.4.0"
[dependencies.spl-pod]
version = "0.5.1"
[dependencies.thiserror]
version = "2.0"
[dev-dependencies.anchor-lang]
version = "0.31.1"
[dev-dependencies.light-account-checks]
default-features = false
features = ["test-only", "pinocchio", "std"]
version = "0.6.0"
[dev-dependencies.light-compressed-token]
features = ["cpi"]
version = "2.0.0"
[dev-dependencies.pinocchio]
version = "0.9"
[features]
anchor = ["anchor-lang", "light-token-types/anchor", "light-token-interface/anchor", "dep:light-sdk-macros"]
anchor-discriminator = ["light-sdk/anchor-discriminator"]
cpi-context = ["light-sdk/cpi-context"]
default = ["anchor-discriminator"]
idl-build = ["anchor", "anchor-lang/idl-build", "light-sdk/idl-build"]
profile-heap = ["light-program-profiler/profile-heap", "light-compressed-account/profile-heap", "light-token-interface/profile-heap"]
profile-program = ["light-program-profiler/profile-program", "light-compressed-account/profile-program", "light-token-interface/profile-program"]
v1 = []
[lib]
name = "light_token"
path = "src/lib.rs"
[lints.rust.unexpected_cfgs]
check-cfg = ['cfg(target_os, values("solana"))', 'cfg(feature, values("frozen-abi", "no-entrypoint"))']
level = "allow"
priority = 0
[package]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
description = "SDK for compressed tokens on Light Protocol"
edition = "2021"
license = "Apache-2.0"
name = "light-token"
readme = false
repository = "https://github.com/Lightprotocol/light-protocol"
version = "0.3.0"
[[test]]
name = "account_metas_test"
path = "tests/account_metas_test.rs"
[[test]]
name = "create_associated_token_account"
path = "tests/create_associated_token_account.rs"
[[test]]
name = "mint_action_cpi_accounts_tests"
path = "tests/mint_action_cpi_accounts_tests.rs"
[[test]]
name = "pack_test"
path = "tests/pack_test.rs"