[package]
edition = "2024"
rust-version = "1.85"
name = "ton-contracts"
version = "0.8.0"
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.8.0"
features = ["base64"]
[dev-dependencies.hex-literal]
version = "0.4"