# 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_miner"
version = "1.0.4"
authors = ["Proof of Capacity Consortium"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "High-performance PoCX cryptocurrency miner with SIMD optimizations"
homepage = "https://bitcoin-pocx.org/"
documentation = "https://github.com/PoC-Consortium/pocx/wiki"
readme = "README.md"
license = "MIT"
repository = "https://github.com/PoC-Consortium/pocx"

[features]
default = ["simd"]
neon = []
simd = []

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

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

[[test]]
name = "integration_tests"
path = "tests/integration_tests.rs"

[[bench]]
name = "compression_benchmark"
path = "benches/compression_benchmark.rs"
harness = false

[dependencies.bytesize]
version = "2.0.1"

[dependencies.cfg-if]
version = "1.0"

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

[dependencies.core_affinity]
version = "0.8"

[dependencies.crossbeam-channel]
version = "0.5"

[dependencies.futures]
version = "0.3"

[dependencies.hex]
version = "0.4"

[dependencies.indicatif]
version = "0.18"

[dependencies.libc]
version = "0.2"

[dependencies.log]
version = "0.4"

[dependencies.log4rs]
version = "1.4"
features = [
    "rolling_file_appender",
    "compound_policy",
    "size_trigger",
    "fixed_window_roller",
]

[dependencies.num_cpus]
version = "1.16"

[dependencies.page_size]
version = "0.6"

[dependencies.pocx_hashlib]
version = "1.0.4"

[dependencies.pocx_plotfile]
version = "1.0.4"

[dependencies.pocx_protocol]
version = "1.0.4"

[dependencies.priority-queue]
version = "2.5"

[dependencies.rand]
version = "0.9.2"
features = [
    "small_rng",
    "std",
]

[dependencies.raw-cpuid]
version = "11.2"

[dependencies.rayon]
version = "1.10"

[dependencies.reqwest]
version = "0.12"
features = [
    "rustls-tls",
    "json",
]
default-features = false

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

[dependencies.serde_yaml]
version = "0.9"

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

[dependencies.tokio-stream]
version = "0.1"

[dependencies.tokio-util]
version = "0.7"
features = ["rt"]

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

[dev-dependencies.criterion]
version = "0.7"
features = ["html_reports"]

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

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

[target."cfg(windows)".dependencies.winapi]
version = "0.3"
features = [
    "std",
    "fileapi",
    "securitybaseapi",
    "errhandlingapi",
    "handleapi",
    "processthreadsapi",
    "winbase",
]
