From 9b250c7c63dc9972a3215be22b36831ec73bd5d8 Mon Sep 17 00:00:00 2001 From: Ciao Date: Mon, 30 Sep 2024 19:35:06 +0800 Subject: [PATCH] release: 0.1.2 (#10) --- .vscode/tasks.json | 57 ++++++++++++++++++++++++++++++++-------------- Cargo.lock | 2 +- Cargo.toml | 7 +++++- 3 files changed, 47 insertions(+), 19 deletions(-) diff --git a/.vscode/tasks.json b/.vscode/tasks.json index 40669ea..616c1f4 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -3,12 +3,18 @@ "tasks": [ { "label": "cargo build", - "type": "shell", - "command": "cargo build -r", + "type": "cargo", + "command": "build", + "args": [ + "-r" + ], "group": { "kind": "build", "isDefault": false }, + "problemMatcher": [ + "$rustc" + ], "presentation": { "echo": true, "reveal": "always", @@ -17,12 +23,15 @@ }, { "label": "cargo check", - "type": "shell", - "command": "cargo check", + "type": "cargo", + "command": "check", "group": { - "kind": "build", + "kind": "test", "isDefault": false }, + "problemMatcher": [ + "$rustc" + ], "presentation": { "echo": true, "reveal": "always", @@ -31,8 +40,8 @@ }, { "label": "cargo clean", - "type": "shell", - "command": "cargo clean", + "type": "cargo", + "command": "clean", "group": { "kind": "build", "isDefault": false @@ -45,12 +54,15 @@ }, { "label": "cargo run", - "type": "shell", - "command": "cargo run", + "type": "cargo", + "command": "run", "group": { "kind": "build", "isDefault": false }, + "problemMatcher": [ + "$rustc" + ], "presentation": { "echo": true, "reveal": "always", @@ -59,12 +71,15 @@ }, { "label": "cargo test", - "type": "shell", - "command": "cargo test", + "type": "cargo", + "command": "test", "group": { - "kind": "build", + "kind": "test", "isDefault": false }, + "problemMatcher": [ + "$rustc" + ], "presentation": { "echo": true, "reveal": "always", @@ -73,12 +88,20 @@ }, { "label": "cargo clippy", - "type": "shell", - "command": "cargo clippy -- -D warnings", + "type": "cargo", + "command": "clippy", + "args": [ + "--", + "-D", + "warnings" + ], "group": { - "kind": "build", + "kind": "test", "isDefault": false }, + "problemMatcher": [ + "$rustc" + ], "presentation": { "echo": true, "reveal": "always", @@ -87,8 +110,8 @@ }, { "label": "cargo fmt", - "type": "shell", - "command": "cargo fmt -v", + "type": "cargo", + "command": "fmt", "group": { "kind": "build", "isDefault": false diff --git a/Cargo.lock b/Cargo.lock index a4b22f8..8b53b96 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -752,7 +752,7 @@ dependencies = [ [[package]] name = "tc" -version = "0.1.1" +version = "0.1.2" dependencies = [ "assert_cmd", "clap", diff --git a/Cargo.toml b/Cargo.toml index 13e743c..2e7b06a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,12 @@ [package] name = "tc" -version = "0.1.1" +version = "0.1.2" edition = "2021" +description = "A simple and efficient token count program." +authors = ["guza "] +repository = "https://github.com/guuzaa/tc" +license = "MIT" +readme = "README.md" [dependencies] clap = { version = "4.3", features = ["derive"] }