light-token-interface 0.3.0

Light Protocol token instruction data types.
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
name = "light-token-interface"
version = "0.3.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Light Protocol token instruction data types."
readme = false
license = "MIT"

[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"

[[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"

[dependencies.aligned-sized]
version = "1.1.0"

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

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

[dependencies.bytemuck]
version = "1.19.0"

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

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

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

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

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

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

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

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

[dependencies.pinocchio]
version = "0.9"

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

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

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

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

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

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

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

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

[dependencies.thiserror]
version = "2.0"

[dependencies.tinyvec]
version = "1.10.0"

[dependencies.zerocopy]
version = "0.8.25"

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

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

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

[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"

[lints.rust.unexpected_cfgs]
level = "allow"
priority = 0
check-cfg = [
    'cfg(target_os, values("solana"))',
    'cfg(feature, values("frozen-abi", "no-entrypoint"))',
]