# 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 = "2024"
name = "tari_ootle_common_types"
version = "0.35.0"
authors = ["The Tari Development Community"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Common types for Tari Ootle"
readme = "README.md"
license = "BSD-3-Clause"
repository = "https://github.com/tari-project/tari-ootle"
resolver = "2"

[package.metadata.cargo-machete]
ignored = [
    "prost",
    "prost-types",
]

[features]
ts = [
    "ts-rs",
    "tari_bor/ts",
    "tari_template_lib_types/ts",
    "tari_engine_types/ts",
    "ootle-network/ts",
]

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

[dependencies.blake2]
version = "0.10.6"

[dependencies.borsh]
version = "1.6"
default-features = false

[dependencies.bounded-vec]
version = "0.9.0"
features = ["serde"]

[dependencies.digest]
version = "0.10"

[dependencies.ethnum]
version = "1.5.0"

[dependencies.indexmap]
version = "2.11.4"

[dependencies.minicbor]
version = "2.2"
features = [
    "alloc",
    "derive",
    "alloc",
    "derive",
]
default-features = false

[dependencies.newtype-ops]
version = "0.1.4"

[dependencies.ootle-network]
version = "0.2"
features = ["serde"]

[dependencies.ootle_byte_type]
version = "0.9"
features = ["crypto"]

[dependencies.ootle_serde]
version = "0.3"

[dependencies.prost]
version = "0.14"

[dependencies.prost-types]
version = "0.14"

[dependencies.rand]
version = "0.10.1"

[dependencies.serde]
version = "1.0"
default-features = true

[dependencies.tari_bor]
version = "0.14"
features = [
    "std",
    "indexmap",
]
default-features = true

[dependencies.tari_crypto]
version = "0.23"
features = ["borsh"]

[dependencies.tari_engine_types]
version = "0.35"

[dependencies.tari_hashing]
version = "5.4.0-pre.5"

[dependencies.tari_ootle_template_metadata]
version = "0.8"

[dependencies.tari_template_lib_types]
version = "0.28"
features = ["serde"]
default-features = false

[dependencies.thiserror]
version = "2.0.17"

[dependencies.ts-rs]
version = "11.0"
features = [
    "chrono-impl",
    "no-serde-warnings",
    "indexmap-impl",
]
optional = true
