revert all --version semver changes

This commit is contained in:
rob thijssen
2025-09-15 09:38:50 +08:00
parent e899709f72
commit fbd63b580f
2 changed files with 1 additions and 7 deletions
-2
View File
@@ -4,8 +4,6 @@ version = "0.1.0"
edition = "2021"
publish = false
description = "CLI binary to run the Quantus External Miner service"
build = "build.rs"
[features]
default = []
+1 -5
View File
@@ -1,13 +1,9 @@
use clap::{Parser, ValueEnum};
use miner_service::{run, EngineSelection, ServiceConfig};
const VERSION_STR: &str = match option_env!("QUANTUS_VERSION") {
Some(v) => v,
None => env!("CARGO_PKG_VERSION"),
};
/// Quantus External Miner CLI
#[derive(Parser, Debug)]
#[command(author, version = VERSION_STR, about, long_about = None)]
#[command(author, version, about, long_about = None)]
struct Args {
/// Port number to listen on for the miner HTTP API
#[arg(short, long, env = "MINER_PORT", default_value_t = 9833)]