Convert repository into Cargo workspace with modular crates - Split code into workspace members: miner-cli, miner-service, pow-core, engine-cpu, engine-gpu-cuda, engine-gpu-opencl, metrics - Moved QPoW math logic into local pow-core crate with compatibility API and incremental helpers - Defined MinerEngine trait and baseline CPU engine in engine-cpu crate - Rewrote service layer in miner-service: job management, HTTP API, engine orchestration - Added CLI binary crate miner-cli with flags: --port, --num-cores, --metrics-port, --engine - Implemented runtime toggle for Prometheus metrics exporter enabled only when --metrics-port provided - Deprecated root src/lib.rs and src/main.rs with notices pointing to new CLI/workspace entrypoints
26 lines
648 B
TOML
26 lines
648 B
TOML
[package]
|
|
name = "engine-gpu-opencl"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
publish = false
|
|
description = "OpenCL-based GPU mining engine for the Quantus External Miner (placeholder crate)"
|
|
|
|
[lib]
|
|
path = "src/lib.rs"
|
|
crate-type = ["rlib"]
|
|
|
|
[features]
|
|
default = []
|
|
# Enable OpenCL integrations when implementing the engine.
|
|
opencl = ["dep:ocl"]
|
|
|
|
[dependencies]
|
|
pow-core = { path = "../pow-core" }
|
|
primitive-types = { workspace = true }
|
|
log = { workspace = true }
|
|
thiserror = { workspace = true }
|
|
anyhow = { workspace = true }
|
|
|
|
# OpenCL ecosystem (optional for now; will be used when implementing GPU backend)
|
|
ocl = { version = "0.19", optional = true }
|