From 1d1237281e8cc78d14b4815272c1ee9a587b4313 Mon Sep 17 00:00:00 2001 From: janskiba Date: Fri, 2 Jun 2023 12:45:19 +0000 Subject: [PATCH] Add cargo-release settings --- Cargo.toml | 3 +++ src/main.rs | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index a63c4d9..34908a6 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -29,3 +29,6 @@ ci = ["github"] installers = ["shell"] # Target platforms to build apps for (Rust target-triple syntax) targets = ["x86_64-unknown-linux-gnu", "x86_64-apple-darwin", "x86_64-pc-windows-msvc", "aarch64-apple-darwin"] + +[workspace.metadata.release] +publish = false diff --git a/src/main.rs b/src/main.rs index 3d3e8cd..7e213f2 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,6 +1,6 @@ use clap::{Parser, Subcommand}; use proxy_health::query_proxy_health; -use anyhow::{Result, Ok, Context}; +use anyhow::{Result, Context}; use reqwest::Url; mod proxy_health;