mirror of
https://github.com/openharmony/third_party_rust_clap.git
synced 2026-07-01 12:13:58 -04:00
clap新增bundle.json部件化
Signed-off-by: ljy9810 <longjianyin@h-partners.com>
This commit is contained in:
@@ -42,6 +42,9 @@ if (host_os != "linux" || host_cpu != "arm64") {
|
||||
"usage",
|
||||
"derive",
|
||||
]
|
||||
module_output_extension = ".rlib"
|
||||
part_name = "rust_clap"
|
||||
subsystem_name = "thirdparty"
|
||||
}
|
||||
|
||||
ohos_cargo_crate("stdio_fixture") {
|
||||
@@ -72,5 +75,7 @@ if (host_os != "linux" || host_cpu != "arm64") {
|
||||
"usage",
|
||||
"derive",
|
||||
]
|
||||
part_name = "rust_clap"
|
||||
subsystem_name = "thirdparty"
|
||||
}
|
||||
}
|
||||
|
||||
+37
@@ -0,0 +1,37 @@
|
||||
{
|
||||
"name": "@ohos/rust_clap",
|
||||
"description": "A command-line argument parsing library for Rust that supports subcommands and complex argument parsing.",
|
||||
"version": "6.1",
|
||||
"license": "Apache License 2.0",
|
||||
"publishAs": "code-segment",
|
||||
"segment": {
|
||||
"destPath": "third_party/rust/crates/clap"
|
||||
},
|
||||
"dirs": {},
|
||||
"scripts": {},
|
||||
"readmePath": {
|
||||
"en": "README.md"
|
||||
},
|
||||
"component": {
|
||||
"name": "rust_clap",
|
||||
"subsystem": "thirdparty",
|
||||
"adapted_system_type": [
|
||||
"standard"
|
||||
],
|
||||
"deps": {
|
||||
"components": []
|
||||
},
|
||||
"build": {
|
||||
"sub_component": [],
|
||||
"inner_kits": [
|
||||
{
|
||||
"name": "//third_party/rust/crates/clap:lib"
|
||||
},
|
||||
{
|
||||
"name": "//third_party/rust/crates/clap:stdio_fixture"
|
||||
}
|
||||
],
|
||||
"test": []
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user