ton_lib 0.0.39

A collection of types and utilities for interacting with the TON network
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"
rust-version = "1.81"
name = "ton_lib"
version = "0.0.39"
authors = ["Sild <silddev@pm.com"]
build = false
include = [
    "Cargo.toml",
    "src/*",
    "tests/*",
    "resources/*",
]
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A collection of types and utilities for interacting with the TON network"
readme = "README.md"
keywords = [
    "ton",
    "the-open-network",
    "blockchain",
    "crypto",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/sild/ton_lib_rs"

[features]
default = []
tonlibjson = ["dep:tonlib-sys"]

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

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

[dependencies.adnl]
version = "2.0"

[dependencies.async-recursion]
version = "1"

[dependencies.async-trait]
version = "0.1"

[dependencies.auto_pool]
version = "0.3"
features = ["async"]

[dependencies.base64]
version = "0.22"

[dependencies.base64-serde]
version = "0.8"

[dependencies.crc]
version = "3.3"

[dependencies.futures-util]
version = "0.3"

[dependencies.hex]
version = "0.4"

[dependencies.hmac]
version = "0.12"

[dependencies.libc]
version = "0.2"

[dependencies.log]
version = "0.4"

[dependencies.moka]
version = "0.12"
features = [
    "async-lock",
    "future",
]

[dependencies.nacl]
version = "0.5"

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

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

[dependencies.parking_lot]
version = "0.12"

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

[dependencies.rand]
version = "0.9"

[dependencies.serde]
version = "1"
features = ["derive"]

[dependencies.serde-aux]
version = "4.7"

[dependencies.serde_json]
version = "1"

[dependencies.sha2]
version = "0.10"

[dependencies.strum]
version = "0.27"
features = ["derive"]

[dependencies.thiserror]
version = "2.0"

[dependencies.tokio]
version = "1.46"

[dependencies.tokio-retry]
version = "0.3"

[dependencies.tokio-tower]
version = "0.6"

[dependencies.ton_lib_core]
version = "0.0"

[dependencies.ton_liteapi]
version = "0.2"

[dependencies.tonlib-sys]
version = "2025.7"
features = ["with_debug_info"]
optional = true

[dependencies.tower]
version = "0.5"
features = ["util"]

[dev-dependencies.anyhow]
version = "1.0"

[dev-dependencies.log4rs]
version = "1.3"

[dev-dependencies.tokio]
version = "1.43"
features = [
    "rt",
    "macros",
]

[dev-dependencies.tokio-test]
version = "0.4"