From 027d15cef968bf3bfefe7f776b09ea9c449a6632 Mon Sep 17 00:00:00 2001 From: Jinguang Dong Date: Tue, 21 Jan 2025 19:35:24 +0800 Subject: [PATCH] Description: [feature] optimize oss's dependencies and spdx identifier info Bug: https://gitee.com/openharmony/third_party_rust_cxx/issues/IBJ6DX Test: It could be normally parse by validate_readme_opensource script Signed-off-by: Jinguang Dong --- README.OpenSource | 27 ++++++++++++++++----------- 1 file changed, 16 insertions(+), 11 deletions(-) diff --git a/README.OpenSource b/README.OpenSource index 118c99f5..6b527e02 100644 --- a/README.OpenSource +++ b/README.OpenSource @@ -1,11 +1,16 @@ -[ - { - "Name": "cxx", - "License": "Apache License 2.0, MIT", - "License File": "LICENSE-APACHE, LICENSE-MIT", - "Version Number": "1.0.97", - "Owner": "fangting12@huawei.com", - "Upstream URL": "https://github.com/dtolnay/cxx", - "Description": "A Rust library that provides a safe and easy way to call C++ code from Rust." - } -] +[ + { + "Name": "cxx", + "License": "Apache-2.0", + "License File": "LICENSE-APACHE", + "Version Number": "1.0.97", + "Owner": "fangting12@huawei.com", + "Upstream URL": "https://github.com/dtolnay/cxx", + "Description": "A Rust library that provides a safe and easy way to call C++ code from Rust.", + "Dependencies": [ + "unicode-width", + "link-cplusplus", + "codespan-reporting" + ] + } +] \ No newline at end of file -- Gitee