Skip to content
This repository was archived by the owner on Aug 18, 2025. It is now read-only.

Commit 6f97e06

Browse files
committed
添加了新的JSON库,包含Cargo.toml、Cargo.lock、library.json和lib.rs文件,提供JSON解析、格式化、对象和数组创建等功能。
1 parent 91e311b commit 6f97e06

File tree

4 files changed

+619
-0
lines changed

4 files changed

+619
-0
lines changed

library_json/Cargo.lock

Lines changed: 101 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

library_json/Cargo.toml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
[package]
2+
name = "cn_json_lib"
3+
version = "0.1.0"
4+
edition = "2021"
5+
6+
[lib]
7+
name = "json"
8+
crate-type = ["cdylib"]
9+
10+
[dependencies]
11+
cn_common = { path = "../library_common" }
12+
serde = { version = "1.0", features = ["derive"] }
13+
serde_json = "1.0"

library_json/library.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"name": "json",
3+
"output_name": "json",
4+
5+
"_comment": "此配置文件仅用于GitHub工作流,不用于源代码中。实际库的命名空间信息直接从lib.rs中获取。"
6+
}

0 commit comments

Comments
 (0)