# 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_transaction_key_manager"
version = "5.3.1"
authors = ["The Tari Development Community"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Core Tari key manager with storage"
readme = "README.md"
license = "BSD-3-Clause"
repository = "https://github.com/tari-project/tari"
resolver = "2"

[package.metadata.cargo-machete]
ignored = ["strum"]

[features]

[lib]
name = "tari_transaction_key_manager"
crate-type = [
    "cdylib",
    "rlib",
]
path = "src/lib.rs"

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

[dependencies.blake2]
version = "0.10"

[dependencies.chacha20poly1305]
version = "0.10.1"

[dependencies.chrono]
version = "0.4"
features = ["serde"]
default-features = false

[dependencies.derivative]
version = "2.2.0"

[dependencies.diesel]
version = "2.3.8"
features = [
    "sqlite",
    "serde_json",
    "chrono",
    "64-column-tables",
]

[dependencies.diesel_migrations]
version = "2.3"

[dependencies.digest]
version = "0.10"

[dependencies.futures]
version = "^0.3.1"

[dependencies.log]
version = "0.4"

[dependencies.minotari_ledger_wallet_common]
version = "5.3.1"

[dependencies.rand]
version = "0.10.1"

[dependencies.serde]
version = "1"
features = ["derive"]

[dependencies.strum]
version = "0.22"

[dependencies.strum_macros]
version = "0.22"

[dependencies.tari_common_sqlite]
version = "5.3.1"

[dependencies.tari_common_types]
version = "5.3.1"

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

[dependencies.tari_hashing]
version = "5.3.1"

[dependencies.tari_script]
version = "5.3.1"

[dependencies.tari_service_framework]
version = "5.3.1"

[dependencies.tari_transaction_components]
version = "5.3.1"

[dependencies.tari_utilities]
version = "0.10"
features = ["borsh"]

[dependencies.thiserror]
version = "2"

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

[dependencies.zeroize]
version = "1"

[dev-dependencies.chrono]
version = "0.4"
features = ["serde"]
default-features = false

[dev-dependencies.tempfile]
version = "3.1.0"

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = [
    "cfg(tari_target_network_mainnet)",
    "cfg(tari_target_network_nextnet)",
    "cfg(tari_target_network_testnet)",
]
