revert all --version semver changes
This commit is contained in:
@@ -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,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)]
|
||||
|
||||
Reference in New Issue
Block a user