From 2c73f1cf609cfa5d324196d31722f78ffe8a1513 Mon Sep 17 00:00:00 2001 From: ARCJ137442 <61109168+ARCJ137442@users.noreply.github.com> Date: Sat, 14 Sep 2024 15:54:44 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20:arrow=5Fup:=20=E6=9B=B4=E6=96=B0?= =?UTF-8?q?=E4=BE=9D=E8=B5=96=E3=80=81ceate=E7=89=88=E6=9C=AC=E4=B8=8Eclip?= =?UTF-8?q?py=20lints?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Cargo.toml | 24 ++++++++++++++++++++---- 1 file changed, 20 insertions(+), 4 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index fa941af..35f4e1f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "babel_nar_cli" -version = "0.3.0" +version = "0.3.1" edition = "2021" description = """ Command Line Interface (CLI) of BabelNAR.rs @@ -19,10 +19,10 @@ repository = "https://github.com/ARCJ137442/BabelNAR-CLI.rs" ## 必要的依赖 ## + [dependencies] # 用于错误处理 -thiserror = "1.0.58" -anyhow = "1.0.81" +anyhow = "1.0.88" clearscreen = "3.0.0" [dependencies.nar_dev_utils] @@ -94,11 +94,27 @@ version = "0.9.2" version = "4.5.17" features = ["derive"] + ### 定义库的特性 ### [features] -# * 🚩【2024-09-12 16:27:50】暂时没有需要启用的特性 +# * 🚩【2024-09-12 16:27:50】暂时没有需要开关的特性 # ## 默认启用的特性 ## # default = [ "bundled" ] # * 默认启用所有(可选禁用) # ## 大杂烩 ## # bundled = [] + + +## 配置编译检查 ## + +# 有关Clippy的参考: +# * 🔗 +[lints.clippy] + +# 📌【2024-08-25 00:31:01】允许文档注释中出现以下情况 +# ```markdown +# * 📝这是一个笔记 +# ? 💭这是一个问题 +# * 📍这是问题下的一个小点 +# ``` +doc_lazy_continuation = "allow"