light-account 0.20.0

Light Protocol account types with Solana AccountInfo specializations
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-account"
version = "0.20.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Light Protocol account types with Solana AccountInfo specializations"
readme = "README.md"
license = "Apache-2.0"
repository = "https://github.com/Lightprotocol/light-protocol"

[features]
alloc = [
    "light-sdk-types/alloc",
    "light-compressed-account/alloc",
]
anchor = [
    "light-sdk-types/anchor",
    "dep:anchor-lang",
]
default = ["std"]
poseidon = [
    "light-sdk-types/poseidon",
    "light-hasher/poseidon",
]
sha256 = [
    "light-sdk-types/sha256",
    "light-hasher/sha256",
]
std = [
    "light-sdk-types/std",
    "light-compressed-account/std",
]
token = [
    "light-sdk-types/token",
    "dep:light-token-interface",
]

[lib]
name = "light_account"
path = "src/lib.rs"

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

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

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

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

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

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

[dependencies.light-sdk-macros]
version = "0.20.0"

[dependencies.light-sdk-types]
version = "0.20.0"
features = [
    "std",
    "v2",
    "cpi-context",
]
default-features = false

[dependencies.light-token-interface]
version = "0.4.0"
optional = true

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

[dependencies.solana-instruction]
version = "2.3"

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

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