# 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"
name = "namada_tx"
version = "0.47.3"
authors = ["Heliax AG <hello@heliax.dev>"]
build = "build.rs"
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Namada transaction construction types"
homepage = "https://namada.net/"
documentation = "https://docs.namada.net/"
readme = "README.md"
keywords = [
    "blockchain",
    "privacy",
    "crypto",
    "protocol",
    "network",
]
license = "GPL-3.0"
repository = "https://github.com/anoma/namada"
resolver = "2"

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

[dependencies.arbitrary]
version = "1.4"
features = ["derive"]
optional = true

[dependencies.ark-bls12-381]
version = "0.5"

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

[dependencies.borsh]
version = "1.2"
features = [
    "unstable__schema",
    "derive",
]

[dependencies.data-encoding]
version = "2.3"

[dependencies.either]
version = "1.12"

[dependencies.konst]
version = "0.3"
default-features = false

[dependencies.linkme]
version = "0.3"
optional = true

[dependencies.masp_primitives]
version = "1.2"

[dependencies.namada_account]
version = "0.47.3"

[dependencies.namada_core]
version = "0.47.3"

[dependencies.namada_events]
version = "0.47.3"

[dependencies.namada_gas]
version = "0.47.3"

[dependencies.namada_macros]
version = "0.47.3"

[dependencies.namada_migrations]
version = "0.47.3"
optional = true

[dependencies.num-derive]
version = "0.4"

[dependencies.num-traits]
version = "0.2"

[dependencies.proptest]
version = "1.4"
optional = true

[dependencies.prost]
version = "0.13"

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

[dependencies.rand_core]
version = "0.6"
features = ["getrandom"]
default-features = false

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

[dependencies.serde_json]
version = "1.0"

[dependencies.sha2]
version = "0.10"

[dependencies.thiserror]
version = "2.0"

[dev-dependencies.assert_matches]
version = "1.5"

[dev-dependencies.proptest]
version = "1.4"

[dev-dependencies.rand]
version = "0.8"
default-features = false

[build-dependencies.tonic-build]
version = "0.12"

[features]
arbitrary = [
    "dep:arbitrary",
    "namada_account/arbitrary",
    "namada_core/arbitrary",
]
default = []
migrations = [
    "namada_migrations",
    "linkme",
]
testing = [
    "proptest",
    "namada_account/testing",
    "namada_core/testing",
]

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(fuzzing)"]