From eb7993feb2b71ef3622ce705bc82870d88fe667f Mon Sep 17 00:00:00 2001 From: l-y <> Date: Tue, 30 Aug 2022 00:51:38 +0800 Subject: [PATCH] fix rename bin name --- .vscode/launch.json | 16 ++++++++-------- Cargo.lock | 2 +- Cargo.toml | 2 +- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.vscode/launch.json b/.vscode/launch.json index bf55f0a..304d4d4 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -7,15 +7,15 @@ { "type": "lldb", "request": "launch", - "name": "Debug executable 'stock_tracker'", + "name": "Debug executable 'stock-tracker'", "cargo": { "args": [ "build", - "--bin=stock_tracker", - "--package=stock_tracker" + "--bin=stock-tracker", + "--package=stock-tracker" ], "filter": { - "name": "stock_tracker", + "name": "stock-tracker", "kind": "bin" } }, @@ -25,16 +25,16 @@ { "type": "lldb", "request": "launch", - "name": "Debug unit tests in executable 'stock_tracker'", + "name": "Debug unit tests in executable 'stock-tracker'", "cargo": { "args": [ "test", "--no-run", - "--bin=stock_tracker", - "--package=stock_tracker" + "--bin=stock-tracker", + "--package=stock-tracker" ], "filter": { - "name": "stock_tracker", + "name": "stock-tracker", "kind": "bin" } }, diff --git a/Cargo.lock b/Cargo.lock index 4fc0078..b15db92 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2010,7 +2010,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6e63cff320ae2c57904679ba7cb63280a3dc4613885beafb148ee7bf9aa9042d" [[package]] -name = "stock_tracker" +name = "stock-tracker" version = "0.1.0" dependencies = [ "chrono", diff --git a/Cargo.toml b/Cargo.toml index 1064603..3713c93 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "stock_tracker" +name = "stock-tracker" version = "0.1.0" edition = "2021"