Przeglądaj źródła

【文档】添加项目许可证和依赖信息

- 在 README.md 和 README.en.md 中添加 MIT License 信息
- 新增 Additional Licenses 部分,列出客户端和服务端依赖的许可证
- 更新项目版本号至 2.13.1
PJ568 1 rok temu
rodzic
commit
6ab19c2725
4 zmienionych plików z 68 dodań i 2 usunięć
  1. 1 1
      Cargo.lock
  2. 1 1
      Cargo.toml
  3. 33 0
      README.en.md
  4. 33 0
      README.md

+ 1 - 1
Cargo.lock

@@ -2449,7 +2449,7 @@ checksum = "1e9df38ee2d2c3c5948ea468a8406ff0db0b29ae1ffde1bcf20ef305bcc95c51"
 
 [[package]]
 name = "yaa"
-version = "2.13.0"
+version = "2.13.1"
 dependencies = [
  "actix-cors",
  "actix-web",

+ 1 - 1
Cargo.toml

@@ -1,6 +1,6 @@
 [package]
 name = "yaa"
-version = "2.13.0"
+version = "2.13.1"
 edition = "2024"
 
 [dependencies]

+ 33 - 0
README.en.md

@@ -61,3 +61,36 @@ See [CONTRIBUTING.md](CONTRIBUTING.md) for details.
 ## Project Implementation
 
 See [yaa documentation](docs/README.md) for details.
+
+## License
+
+[MIT License](LICENSE)
+
+## Additional Licenses
+
+### Client Dependencies
+
+|Name|License|
+|:-:|:--|
+|tabler-icons|[MIT License](//mit-license.org)|
+|markedjs/marked|[marked License](https://github.com/markedjs/marked/blob/master/LICENSE.md)|
+|mermaidjs/mermaid|[MIT License](https://github.com/mermaid-js/mermaid/blob/develop/LICENSE)|
+
+### Server Dependencies
+
+|Name|License|
+|:-:|:--|
+|actix-cors|[MIT License](https://github.com/actix/actix-extras/blob/master/LICENSE-MIT)|
+|actix-web|[MIT License](https://github.com/actix/actix-web/blob/master/LICENSE-MIT)|
+|anyhow|[MIT License](https://github.com/dtolnay/anyhow/blob/master/LICENSE-MIT)|
+|async-trait|[MIT License](https://github.com/dtolnay/async-trait/blob/master/LICENSE-MIT)|
+|chrono|[MIT License](https://github.com/chronotope/chrono/blob/main/LICENSE)|
+|clap|[MIT License](https://github.com/clap-rs/clap/blob/master/LICENSE-MIT)|
+|reqwest|[MIT License](https://github.com/seanmonstar/reqwest/blob/master/LICENSE-MIT)|
+|serde|[MIT License](https://github.com/serde-rs/serde/blob/master/LICENSE-MIT)|
+|serde_json|[MIT License](https://github.com/serde-rs/json/blob/master/LICENSE-MIT)|
+|thiserror|[MIT License](https://github.com/dtolnay/thiserror/blob/master/LICENSE-MIT)|
+|tokio|[MIT License](https://github.com/tokio-rs/tokio/blob/master/LICENSE)|
+|uuid|[MIT License](https://github.com/uuid-rs/uuid/blob/master/LICENSE-MIT)|
+|wasi|[Apache-2.0 License](https://github.com/bytecodealliance/wasi-rs/blob/main/LICENSE-Apache-2.0_WITH_LLVM-exception)|
+|wasm-bindgen|[Apache-2.0 License](https://github.com/rustwasm/wasm-bindgen/blob/main/LICENSE-APACHE)|

+ 33 - 0
README.md

@@ -61,3 +61,36 @@ cargo run --release
 ## 项目实现
 
 详见 [yaa 文档](docs/README.md)。
+
+## 许可证
+
+[MIT License](LICENSE)
+
+## 附加许可证
+
+### 客户端依赖
+
+|名称|协议|
+|:-:|:--|
+|tabler-icons|[MIT License](//mit-license.org)|
+|markedjs/marked|[marked License](https://github.com/markedjs/marked/blob/master/LICENSE.md)|
+|mermaidjs/mermaid|[MIT License](https://github.com/mermaid-js/mermaid/blob/develop/LICENSE)|
+
+### 服务端依赖
+
+|名称|协议|
+|:-:|:--|
+|actix-cors|[MIT License](https://github.com/actix/actix-extras/blob/master/LICENSE-MIT)|
+|actix-web|[MIT License](https://github.com/actix/actix-web/blob/master/LICENSE-MIT)|
+|anyhow|[MIT License](https://github.com/dtolnay/anyhow/blob/master/LICENSE-MIT)|
+|async-trait|[MIT License](https://github.com/dtolnay/async-trait/blob/master/LICENSE-MIT)|
+|chrono|[MIT License](https://github.com/chronotope/chrono/blob/main/LICENSE)|
+|clap|[MIT License](https://github.com/clap-rs/clap/blob/master/LICENSE-MIT)|
+|reqwest|[MIT License](https://github.com/seanmonstar/reqwest/blob/master/LICENSE-MIT)|
+|serde|[MIT License](https://github.com/serde-rs/serde/blob/master/LICENSE-MIT)|
+|serde_json|[MIT License](https://github.com/serde-rs/json/blob/master/LICENSE-MIT)|
+|thiserror|[MIT License](https://github.com/dtolnay/thiserror/blob/master/LICENSE-MIT)|
+|tokio|[MIT License](https://github.com/tokio-rs/tokio/blob/master/LICENSE)|
+|uuid|[MIT License](https://github.com/uuid-rs/uuid/blob/master/LICENSE-MIT)|
+|wasi|[Apache-2.0 License](https://github.com/bytecodealliance/wasi-rs/blob/main/LICENSE-Apache-2.0_WITH_LLVM-exception)|
+|wasm-bindgen|[Apache-2.0 License](https://github.com/rustwasm/wasm-bindgen/blob/main/LICENSE-APACHE)|