Răsfoiți Sursa

【文档】添加项目元信息和分类标签

为 Cargo.toml 文件添加了项目的仓库链接、主页、文档地址、关键词和分类信息,
便于用户了解项目背景和用途,并提高在 crates.io 上的可发现性。
PJ568 1 an în urmă
părinte
comite
94cb4df848
3 a modificat fișierele cu 16 adăugiri și 2 ștergeri
  1. 1 1
      Cargo.lock
  2. 14 1
      Cargo.toml
  3. 1 0
      docs/status.md

+ 1 - 1
Cargo.lock

@@ -942,7 +942,7 @@ checksum = "7da8b5736845d9f2fcb837ea5d9e2628564b3b043a70948a3f0b778838c5fb4f"
 
 [[package]]
 name = "swb-sys-monitor"
-version = "0.1.0"
+version = "0.1.1"
 dependencies = [
  "anyhow",
  "clap",

+ 14 - 1
Cargo.toml

@@ -1,10 +1,23 @@
 [package]
 name = "swb-sys-monitor"
-version = "0.1.0"
+version = "0.1.1"
 authors = ["PJ568 <[email protected]>"]
 edition = "2024"
 description = "为嵌入式设备高并发监控场景设计的极简网页资源占用显示系统"
 license = "MIT"
+repository = "https://github.com/swaybien/swb-sys-monitor"
+homepage = "https://github.com/swaybien/swb-sys-monitor"
+documentation = "https://github.com/swaybien/swb-sys-monitor#readme"
+keywords = [
+    "system",
+    "monitor",
+    "embedded",
+    "web",
+    "performance",
+]
+categories = [
+    "web-programming::http-server",
+]
 
 [dependencies]
 tokio = { version = "1.0", features = ["full"] }

+ 1 - 0
docs/status.md

@@ -19,3 +19,4 @@
 - [x] 创建部署脚本和系统服务配置
 - [x] 更新文档和 README.md(和 README.en.md)
 - [x] 测试高并发场景(200+ 连接)
+- [x] 为 Cargo.toml 添加项目关键词和仓库地址信息