[package]
edition = "2024"
rust-version = "1.91.1"
name = "tronz"
version = "0.5.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Idiomatic, async-first Rust SDK for the TRON network."
readme = "README.md"
keywords = [
"tron",
"blockchain",
"grpc",
"cryptocurrency",
"smart-contracts",
]
categories = [
"cryptography::cryptocurrencies",
"network-programming",
"api-bindings",
"asynchronous",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/throgxyz/tronz"
resolver = "2"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
"--cfg",
"docsrs",
"-Zunstable-options",
"--generate-link-to-definition",
"--show-type-layout",
]
[package.metadata.release]
tag = true
tag-name = "v{{version}}"
[features]
contract = ["dep:tronz-contract"]
default = [
"provider-grpc-tls",
"contract",
"signer-local",
]
full = [
"default",
"signer-mnemonic",
"signer-keystore",
"signer-tip712",
]
provider-grpc = ["tronz-provider/grpc"]
provider-grpc-tls = ["tronz-provider/grpc-tls"]
signer-aws = ["dep:tronz-signer-aws"]
signer-keystore = ["tronz-signer/keystore"]
signer-local = []
signer-mnemonic = ["tronz-signer/mnemonic"]
signer-tip712 = ["tronz-signer/tip712"]
[lib]
name = "tronz"
path = "src/lib.rs"
[[test]]
name = "tron_sol"
path = "tests/tron_sol.rs"
[dependencies.tronz-abi]
version = "0.5.0"
default-features = false
[dependencies.tronz-contract]
version = "0.5.0"
features = ["provider"]
optional = true
default-features = false
[dependencies.tronz-primitives]
version = "0.5.0"
default-features = false
[dependencies.tronz-provider]
version = "0.5.0"
default-features = false
[dependencies.tronz-rpc-types]
version = "0.5.0"
default-features = false
[dependencies.tronz-signer]
version = "0.5.0"
default-features = false
[dependencies.tronz-signer-aws]
version = "0.5.0"
optional = true
default-features = false
[dev-dependencies.anyhow]
version = "1"
[dev-dependencies.tokio]
version = "1"
features = [
"rt",
"rt-multi-thread",
"macros",
"sync",
"time",
"rt-multi-thread",
"macros",
]