# 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 = "2024"
rust-version = "1.85"
name = "ton-contracts"
version = "0.7.2"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Bindings for common smart-contracts on TON blockchain"
readme = "README.md"
keywords = [
    "ton",
    "tlb",
    "tl-b",
    "boc",
]
categories = ["encoding"]
license-file = "LICENSE.txt"
repository = "https://github.com/mitinarseny/toner"

[features]
arbitrary = [
    "dep:arbitrary",
    "chrono/arbitrary",
    "chrono/std",
    "num-bigint/arbitrary",
    "tlb-ton/arbitrary",
]
default = [
    "wallet",
    "jetton",
]
jetton = []
wallet = [
    "dep:nacl",
    "dep:hmac",
    "dep:sha2",
    "dep:pbkdf2",
]

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

[dependencies.anyhow]
version = "1"

[dependencies.arbitrary]
version = "1.4"
features = ["derive"]
optional = true

[dependencies.bitvec]
version = "1"

[dependencies.chrono]
version = "0.4"
default-features = false

[dependencies.hmac]
version = "0.12"
optional = true

[dependencies.lazy_static]
version = "1.4"

[dependencies.nacl]
version = "0.5"
optional = true

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

[dependencies.pbkdf2]
version = "0.12"
features = ["simple"]
optional = true

[dependencies.sha2]
version = "0.10"
optional = true

[dependencies.tlb-ton]
version = "0.7.2"
features = ["base64"]

[dev-dependencies.hex-literal]
version = "0.4"
