# 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"
rust-version = "1.93.0"
name = "tari_service_framework"
version = "5.4.0-pre.5"
authors = ["The Tari Development Community"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "The Tari communication stack service framework"
readme = "README.md"
license = "BSD-3-Clause"
repository = "https://github.com/tari-project/tari"
resolver = "2"

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

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

[dependencies.anyhow]
version = "1.0"

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

[dependencies.futures]
version = "^0.3.16"
features = ["async-await"]

[dependencies.log]
version = "0.4"

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

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1.47"
features = [
    "rt",
    "sync",
]

[dependencies.tower-service]
version = "0.3"

[dev-dependencies.futures-test]
version = "0.3.3"

[dev-dependencies.tari_test_utils]
version = "5.4.0-pre.5"

[dev-dependencies.tokio]
version = "1.47"
features = [
    "rt-multi-thread",
    "macros",
    "time",
]

[dev-dependencies.tower]
version = "0.4"
