# 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 = "atlas-token"
version = "8.0.0"
authors = ["Atlas Chain Foundation <maintainers@atlaschain.xyz>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Atlas Program Library Token"
readme = "README.md"
license = "Apache-2.0"
repository = "https://github.com/atlas-chain/token"

[package.metadata.atlas]
program-id = "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA"

[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]

[features]
no-entrypoint = []
test-sbf = []

[lib]
name = "atlas_token"
crate-type = [
    "cdylib",
    "lib",
]
path = "src/lib.rs"

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

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

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

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

[dependencies.arrayref]
version = "0.3.9"

[dependencies.atlas-account-info]
version = "3.0"

[dependencies.atlas-cpi]
version = "3.0"

[dependencies.atlas-instruction]
version = "3.0.0"

[dependencies.atlas-msg]
version = "3.0"

[dependencies.atlas-program-entrypoint]
version = "3.1"

[dependencies.atlas-program-error]
version = "3.0.0"

[dependencies.atlas-program-memory]
version = "3.0"

[dependencies.atlas-program-option]
version = "3.0.0"

[dependencies.atlas-program-pack]
version = "3.0.0"

[dependencies.atlas-pubkey]
version = "3.0.0"
features = ["bytemuck"]

[dependencies.atlas-rent]
version = "3.0"

[dependencies.atlas-sdk-ids]
version = "3.0"

[dependencies.atlas-sysvar]
version = "3.0"
features = ["bincode"]

[dependencies.atlas-token-interface]
version = "2.0"

[dependencies.bytemuck]
version = "1.20.0"

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

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

[dependencies.num_enum]
version = "0.7.3"

[dependencies.thiserror]
version = "2.0"

[dev-dependencies.atlas-account]
version = "3.0"

[dev-dependencies.atlas-account-info]
version = "3.0"

[dev-dependencies.atlas-clock]
version = "3.0"

[dev-dependencies.atlas-native-token]
version = "3.0"

[dev-dependencies.atlas-program-entrypoint]
version = "3.1"

[dev-dependencies.atlas-rent]
version = "3.0"
features = ["sysvar"]

[dev-dependencies.atlas-system-interface]
version = "2.0"
features = ["bincode"]

[dev-dependencies.lazy_static]
version = "1.5.0"

[dev-dependencies.mollusk-svm]
version = "0.4.0"

[dev-dependencies.mollusk-svm-fuzz-fixture]
version = "0.4.0"

[dev-dependencies.proptest]
version = "1.5"

[dev-dependencies.serial_test]
version = "3.2.0"

[dev-dependencies.strum]
version = "0.24"

[dev-dependencies.strum_macros]
version = "0.24"

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = [
    'cfg(target_os, values("atlas"))',
    'cfg(feature, values("custom-alloc", "custom-panic", "frozen-abi", "no-entrypoint"))',
]
