# 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.78"
name = "dharitri-sc"
version = "1.12.2"
authors = ["contact@dharitri.org"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "DharitrI smart contract API"
homepage = "https://dharitri.org/"
documentation = "https://docs.dharitri.org/"
readme = "README.md"
keywords = [
    "dharitri",
    "wasm",
    "webassembly",
    "blockchain",
    "contract",
]
categories = [
    "no-std",
    "wasm",
    "cryptography::cryptocurrencies",
    "development-tools",
]
license = "GPL-3.0-only"
repository = "https://github.com/TerraDharitri/drt-rs-sdk"

[package.metadata.docs.rs]
all-features = true

[features]
alloc = []
dcdt-token-payment-legacy-decode = []
managed-buffer-builder-cached = []
num-bigint = ["dharitri-sc-codec/num-bigint"]

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

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

[dependencies.bitflags]
version = "=2.6.0"

[dependencies.dharitri-sc-codec]
version = "=1.12.2"
features = ["derive"]

[dependencies.dharitri-sc-derive]
version = "=1.12.2"

[dependencies.hex-literal]
version = "=0.4.1"

[dependencies.num-traits]
version = "=0.2.19"
default-features = false

[dependencies.unwrap-infallible]
version = "0.1.5"
