# 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 = "mithril-aggregator-client"
version = "0.1.5"
authors = [
    "dev@iohk.io",
    "mithril-dev@iohk.io",
]
build = false
include = [
    "**/*.rs",
    "Cargo.toml",
    "README.md",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Client to request data from a Mithril Aggregator"
homepage = "https://mithril.network"
documentation = "https://mithril.network/doc"
readme = "README.md"
license = "Apache-2.0"
repository = "https://github.com/input-output-hk/mithril/"
resolver = "2"

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

[dependencies.anyhow]
version = "1.0.100"

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

[dependencies.mithril-common]
version = ">=0.6"

[dependencies.reqwest]
version = "0.12.24"
features = ["json"]
default-features = false

[dependencies.semver]
version = "1.0.27"

[dependencies.serde]
version = "1.0.228"
features = [
    "derive",
    "rc",
]

[dependencies.serde_json]
version = "1.0.145"

[dependencies.slog]
version = "2.7.0"

[dependencies.thiserror]
version = "2.0.17"

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

[dev-dependencies.http]
version = "1.3.1"

[dev-dependencies.httpmock]
version = "0.8.1"

[dev-dependencies.mockall]
version = "0.13.1"

[dev-dependencies.slog-async]
version = "2.8.0"

[dev-dependencies.slog-term]
version = "2.9.2"

[dev-dependencies.tokio]
version = "1.48.0"
features = [
    "rt",
    "sync",
    "time",
    "macros",
    "rt-multi-thread",
]
