light-token-interface 0.2.0

Light Protocol token instruction data types.
Documentation
[dependencies.aligned-sized]
version = "1.1.0"

[dependencies.anchor-lang]
optional = true
version = "0.31.1"

[dependencies.borsh]
default-features = false
version = "0.10.4"

[dependencies.bytemuck]
version = "1.19.0"

[dependencies.light-array-map]
version = "0.1.1"

[dependencies.light-compressed-account]
default-features = false
features = ["std"]
version = "0.8.0"

[dependencies.light-compressible]
default-features = false
version = "0.3.0"

[dependencies.light-hasher]
default-features = false
version = "5.0.0"

[dependencies.light-heap]
optional = true
version = "2.0.0"

[dependencies.light-macros]
version = "2.2.0"

[dependencies.light-program-profiler]
version = "0.1.0"

[dependencies.light-zero-copy]
default-features = false
features = ["derive", "mut"]
version = "0.6.0"

[dependencies.pinocchio]
version = "0.9"

[dependencies.pinocchio-pubkey]
version = "0.3.0"

[dependencies.solana-account-info]
version = "2.2"

[dependencies.solana-msg]
optional = true
version = "2.2"

[dependencies.solana-program-error]
optional = true
version = "2.2"

[dependencies.solana-pubkey]
version = "2.4.0"

[dependencies.solana-sysvar]
optional = true
version = "2.2"

[dependencies.spl-pod]
version = "0.5.1"

[dependencies.spl-token-2022]
features = ["no-entrypoint"]
version = "7.0.0"

[dependencies.thiserror]
version = "2.0"

[dependencies.tinyvec]
version = "1.10.0"

[dependencies.zerocopy]
version = "0.8.25"

[dev-dependencies.light-account-checks]
default-features = false
features = ["test-only", "pinocchio", "std", "solana"]
version = "0.6.0"

[dev-dependencies.light-compressed-account]
default-features = false
features = ["new-unique"]
version = "0.8.0"

[dev-dependencies.light-hasher]
default-features = false
features = ["keccak", "sha256", "poseidon"]
version = "5.0.0"

[dev-dependencies.num-bigint]
version = "0.4.6"

[dev-dependencies.rand]
version = "0.8.5"

[dev-dependencies.spl-token-metadata-interface]
version = "0.6.0"

[features]
anchor = ["light-compressed-account/anchor", "dep:anchor-lang", "light-compressible/anchor"]
default = []
poseidon = ["light-hasher/poseidon"]
profile-heap = ["dep:light-heap"]
profile-program = []
solana = ["dep:solana-program-error", "dep:solana-sysvar", "solana-msg"]
test-only = []

[lib]
name = "light_token_interface"
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 = "Light Protocol token instruction data types."
edition = "2021"
license = "MIT"
name = "light-token-interface"
readme = false
version = "0.2.0"

[[test]]
name = "compressed_mint"
path = "tests/compressed_mint.rs"

[[test]]
name = "cross_deserialization"
path = "tests/cross_deserialization.rs"

[[test]]
name = "hash_tests"
path = "tests/hash_tests.rs"

[[test]]
name = "mint_borsh_zero_copy"
path = "tests/mint_borsh_zero_copy.rs"

[[test]]
name = "mint_compat"
path = "tests/mint_compat.rs"

[[test]]
name = "mod"
path = "tests/mod.rs"

[[test]]
name = "pool_derivation"
path = "tests/pool_derivation.rs"

[[test]]
name = "token_data"
path = "tests/token_data.rs"

[[test]]
name = "token_data_hash"
path = "tests/token_data_hash.rs"

[[test]]
name = "token_metadata"
path = "tests/token_metadata.rs"