# 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 = "account-compression"
version = "0.4.1"
description = "Solana account compression program"
license = "Apache-2.0"
repository = "https://github.com/Lightprotocol/light-protocol"

[lib]
name = "account_compression"
crate-type = [
    "cdylib",
    "lib",
]

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

[dependencies.anchor-lang]
version = "0.29.0"

[dependencies.bytemuck]
version = "1.14"
features = ["min_const_generics"]

[dependencies.light-bounded-vec]
version = "0.2.1"
features = ["solana"]

[dependencies.light-concurrent-merkle-tree]
version = "0.2.1"
features = ["solana"]

[dependencies.light-hash-set]
version = "0.2.1"
features = ["solana"]

[dependencies.light-hasher]
version = "0.2.1"
features = ["solana"]

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

[dependencies.light-indexed-merkle-tree]
version = "0.2.1"
features = ["solana"]

[dependencies.light-utils]
version = "0.2.1"

[dependencies.num-bigint]
version = "0.4"

[dependencies.num-traits]
version = "0.2.18"

[dependencies.solana-security-txt]
version = "1.1.0"

[features]
bench-sbf = []
cpi = ["no-entrypoint"]
custom-heap = ["light-heap"]
default = ["custom-heap"]
mem-profiling = []
no-entrypoint = []
no-idl = []
no-log-ix-name = []
test-sbf = []

[target."cfg(not(target_os = \"solana\"))".dependencies.solana-sdk]
version = "=1.18.11"
