light-token 0.4.0

SDK for Light Tokens
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"
version = "0.4.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "SDK for Light Tokens"
readme = false
license = "Apache-2.0"
repository = "https://github.com/Lightprotocol/light-protocol"

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

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

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

[dependencies.arrayvec]
version = "0.7"

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

[dependencies.light-account-checks]
version = "0.7.0"
features = ["solana"]
default-features = false

[dependencies.light-batched-merkle-tree]
version = "0.9.0"

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

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

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

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

[dependencies.light-sdk]
version = "0.19.0"
features = [
    "v2",
    "cpi-context",
]

[dependencies.light-sdk-macros]
version = "0.19.0"
optional = true

[dependencies.light-sdk-types]
version = "0.19.0"
features = ["v2"]
default-features = false

[dependencies.light-token-interface]
version = "0.3.0"

[dependencies.light-token-types]
version = "0.4.0"

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

[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]
version = "2.4.0"
features = [
    "sha2",
    "curve25519",
]

[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]
version = "0.7.0"
features = [
    "test-only",
    "pinocchio",
    "std",
]
default-features = false

[dev-dependencies.light-compressed-token]
version = "2.0.0"
features = ["cpi"]

[dev-dependencies.pinocchio]
version = "0.9"

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