# 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"
name = "fedimint-dbtool"
version = "0.11.1"
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Tool to inspect Fedimint client and server databases"
readme = "README.md"
license = "MIT"
repository = "https://github.com/fedimint/fedimint"
resolver = "2"

[package.metadata.docs.rs]
rustc-args = [
    "--cfg",
    "tokio_unstable",
]

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

[[bin]]
name = "fedimint-dbtool"
path = "src/main.rs"

[dependencies.anyhow]
version = "1.0.98"

[dependencies.bytes]
version = "1.11.1"

[dependencies.clap]
version = "4.5.60"
features = [
    "derive",
    "env",
]

[dependencies.erased-serde]
version = "0.4"

[dependencies.fedimint-client]
version = "=0.11.1"

[dependencies.fedimint-client-module]
version = "=0.11.1"

[dependencies.fedimint-core]
version = "=0.11.1"

[dependencies.fedimint-gateway-server-db]
version = "=0.11.1"
package = "fedimint-gateway-server-db"

[dependencies.fedimint-ln-client]
version = "=0.11.1"

[dependencies.fedimint-ln-server]
version = "=0.11.1"

[dependencies.fedimint-lnv2-client]
version = "=0.11.1"

[dependencies.fedimint-lnv2-server]
version = "=0.11.1"

[dependencies.fedimint-logging]
version = "=0.11.1"

[dependencies.fedimint-meta-client]
version = "=0.11.1"

[dependencies.fedimint-meta-server]
version = "=0.11.1"

[dependencies.fedimint-mint-client]
version = "=0.11.1"

[dependencies.fedimint-mint-server]
version = "=0.11.1"

[dependencies.fedimint-rocksdb]
version = "=0.11.1"

[dependencies.fedimint-server]
version = "=0.11.1"

[dependencies.fedimint-wallet-client]
version = "=0.11.1"

[dependencies.fedimint-wallet-server]
version = "=0.11.1"

[dependencies.fedimint-walletv2-client]
version = "=0.11.1"

[dependencies.futures]
version = "0.3.32"

[dependencies.hex]
version = "0.4.3"
features = ["serde"]

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

[dependencies.serde_json]
version = "1.0.149"

[dependencies.strum]
version = "0.27"
features = ["derive"]

[dependencies.tokio]
version = "1.48.0"

[dependencies.tracing]
version = "0.1.44"

[build-dependencies.fedimint-build]
version = "=0.11.1"

[lints.clippy]
dbg_macro = "deny"
literal_string_with_formatting_args = "deny"
