ton_lib 0.0.13

A collection of types and utilities for interacting with the TON network
Documentation
[[bench]]
harness = false
name = "boc_to_from_bytes"
path = "benches/boc_to_from_bytes.rs"

[[bench]]
harness = false
name = "build_cell"
path = "benches/build_cell.rs"

[[bench]]
harness = false
name = "build_dict_cell"
path = "benches/build_dict_cell.rs"

[dependencies.adnl]
version = "2.0"

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

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

[dependencies.base64]
version = "0.22"

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

[dependencies.bitstream-io]
version = "3.1.0"

[dependencies.crc]
version = "3.2.1"

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

[dependencies.hex]
version = "0.4.3"

[dependencies.libc]
version = "0.2"

[dependencies.log]
version = "0.4"

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

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

[dependencies.rand]
version = "0.9.1"

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

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

[dependencies.serde_json]
version = "1"

[dependencies.sha2]
version = "0.10"

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

[dependencies.thiserror]
version = "2.0"

[dependencies.tokio]
version = "1.43.0"

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

[dependencies.ton_lib_macros]
version = "0"

[dependencies.ton_liteapi]
version = "0.2"

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

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

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

[dev-dependencies.criterion]
version = "0.5"

[dev-dependencies.hex]
version = "0.4.3"

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

[dev-dependencies.sha2]
features = ["asm"]
version = "0.10"

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

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

[dev-dependencies.tonlib-core]
version = "0.24.2"

[[example]]
name = "cell_perf_boc_from_bytes"
path = "examples/cell_perf_boc_from_bytes.rs"

[[example]]
name = "cell_perf_boc_from_bytes_tonlib"
path = "examples/cell_perf_boc_from_bytes_tonlib.rs"

[[example]]
name = "cell_perf_build_cell"
path = "examples/cell_perf_build_cell.rs"

[[example]]
name = "cell_perf_build_cell_tonlib"
path = "examples/cell_perf_build_cell_tonlib.rs"

[[example]]
name = "types_tlb_build_dict_large"
path = "examples/types_tlb_build_dict_large.rs"

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

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

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

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