# 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_common_types"
version = "5.3.0-pre.10"
authors = ["The Tari Development Community"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Tari cryptocurrency common types"
readme = "README.md"
license = "BSD-3-Clause"
repository = "https://github.com/tari-project/tari"
resolver = "2"

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

[features]
default = []
wasm = ["wasm-bindgen"]

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

[dependencies.argon2]
version = "0.4.1"
features = [
    "std",
    "alloc",
]

[dependencies.base64]
version = "0.22"

[dependencies.bitflags]
version = "2.4"
features = ["serde"]

[dependencies.blake2]
version = "0.10"

[dependencies.borsh]
version = "1.5.7"

[dependencies.bs58]
version = "0.5.1"

[dependencies.chacha20]
version = "0.7.1"

[dependencies.chacha20poly1305]
version = "0.10.1"

[dependencies.crc32fast]
version = "1.2.1"

[dependencies.digest]
version = "0.10"

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

[dependencies.once_cell]
version = "1.8.0"

[dependencies.primitive-types]
version = "0.12"
features = ["serde"]

[dependencies.rand]
version = "0.8"

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

[dependencies.serde_json]
version = "1"

[dependencies.strum]
version = "0.22"

[dependencies.strum_macros]
version = "0.22"

[dependencies.subtle]
version = "2.4.1"

[dependencies.tari_common]
version = "5.3.0-pre.10"

[dependencies.tari_crypto]
version = "0.22.1"

[dependencies.tari_hashing]
version = "5.3.0-pre.10"

[dependencies.tari_max_size]
version = "5.3.0-pre.10"

[dependencies.tari_utilities]
version = "0.8"

[dependencies.thiserror]
version = "2"

[dependencies.utoipa]
version = "5.3.1"

[dependencies.wasm-bindgen]
version = "0.2.100"
optional = true

[dependencies.zeroize]
version = "1"

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

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

[target.'cfg(target_arch = "wasm32")'.dependencies.getrandom]
version = "0.2"
features = ["js"]

[target.'cfg(target_arch = "wasm32")'.dependencies.js-sys]
version = "0.3.55"
