# 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_core"
version = "0.48.0"
authors = ["Heliax AG <hello@heliax.dev>"]
build = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Namada core"
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_core"
path = "src/lib.rs"

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

[dependencies.arse-merkle-tree]
version = "0.3.2-nam.0"
features = [
    "std",
    "borsh",
]
default-features = false
package = "nam-sparse-merkle-tree"

[dependencies.bech32]
version = "0.11"

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

[dependencies.chrono]
version = "0.4"
features = [
    "clock",
    "std",
]
default-features = false

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

[dependencies.ed25519-consensus]
version = "2.1"

[dependencies.ethabi]
version = "18.0"

[dependencies.ethbridge-structs]
version = "0.24"

[dependencies.eyre]
version = "0.6"

[dependencies.ibc]
version = "0.57.0"
features = ["serde"]

[dependencies.ics23]
version = "0.12"

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

[dependencies.indexmap]
version = "2.7.1-nam.0"
features = [
    "borsh-schema",
    "serde",
]
package = "nam-indexmap"

[dependencies.k256]
version = "0.13"
features = [
    "ecdsa",
    "pkcs8",
    "precomputed-tables",
    "serde",
    "std",
]
default-features = false

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

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

[dependencies.masp_primitives]
version = "1.2"

[dependencies.namada_macros]
version = "0.48.0"

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

[dependencies.num-integer]
version = "0.1"

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

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

[dependencies.num256]
version = "0.6"

[dependencies.num_enum]
version = "0.7"

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

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

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

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

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

[dependencies.ripemd]
version = "0.1"

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

[dependencies.serde_json]
version = "1.0"

[dependencies.sha2]
version = "0.10"

[dependencies.smooth-operator]
version = "0.7"

[dependencies.tendermint]
version = "0.40.1"
features = ["secp256k1"]

[dependencies.tendermint-proto]
version = "0.40.1"

[dependencies.thiserror]
version = "2.0"

[dependencies.tiny-keccak]
version = "2.0"
features = ["keccak"]

[dependencies.tracing]
version = "0.1"

[dependencies.uint]
version = "0.10"

[dependencies.usize-set]
version = "0.10"
features = [
    "serialize-borsh",
    "serialize-serde",
]

[dependencies.wasmtimer]
version = "0.4"
optional = true

[dependencies.zeroize]
version = "1.5"
features = ["zeroize_derive"]

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

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

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

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

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

[dev-dependencies.tokio]
version = "1.8"
features = ["full"]
default-features = false

[dev-dependencies.toml]
version = "0.8"

[features]
arbitrary = [
    "dep:arbitrary",
    "chrono/arbitrary",
    "ibc/arbitrary",
    "indexmap/arbitrary",
    "masp_primitives/arbitrary",
]
benches = ["proptest"]
control_flow = [
    "lazy_static",
    "tokio",
    "wasmtimer",
]
default = []
ethers-derive = ["ethbridge-structs/ethers-derive"]
mainnet = []
migrations = [
    "namada_migrations",
    "linkme",
]
rand = [
    "dep:rand",
    "rand_core",
]
task_env = ["tokio"]
testing = [
    "rand",
    "proptest",
]

[target.'cfg(not(target_family = "wasm"))'.dependencies.rayon]
version = "1.5"

[target.'cfg(not(target_family = "wasm"))'.dependencies.tokio]
version = "1.8"
features = ["full"]
optional = true
default-features = false

[target.'cfg(target_family = "wasm")'.dependencies.tokio]
version = "1.8"
features = ["sync"]
optional = true
default-features = false

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