# 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"
rust-version = "1.91.0"
name = "pocx_aggregator"
version = "1.0.2"
authors = ["Proof of Capacity Consortium"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "High-performance mining aggregator for PoCX protocol"
homepage = "https://bitcoin-pocx.org/"
documentation = "https://github.com/PoC-Consortium/pocx/wiki"
readme = "README.md"
keywords = [
    "poc",
    "cryptocurrency",
    "mining",
    "aggregator",
]
categories = [
    "cryptography",
    "network-programming",
]
license = "MIT"
repository = "https://github.com/PoC-Consortium/pocx"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

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

[[bin]]
name = "pocx_aggregator"
path = "src/main.rs"

[dependencies.axum]
version = "0.8"

[dependencies.base64]
version = "0.22"

[dependencies.bytesize]
version = "2.1"

[dependencies.chrono]
version = "0.4"
features = ["serde"]

[dependencies.clap]
version = "4.5"
features = ["derive"]

[dependencies.diesel]
version = "2.3"
features = [
    "sqlite",
    "r2d2",
    "chrono",
]

[dependencies.diesel_migrations]
version = "2.3"

[dependencies.env_logger]
version = "0.11"

[dependencies.futures]
version = "0.3"

[dependencies.libsqlite3-sys]
version = "0.30"
features = ["bundled"]

[dependencies.log]
version = "0.4"

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

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

[dependencies.pocx_protocol]
version = "1.0.2"

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

[dependencies.serde_json]
version = "1.0"

[dependencies.serde_yaml]
version = "0.9"

[dependencies.thiserror]
version = "2.0"

[dependencies.tokio]
version = "1.48"
features = ["full"]

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

[dev-dependencies.mockito]
version = "1.0"

[dev-dependencies.tempfile]
version = "3.23"
