mirror of
https://github.com/openharmony/third_party_rust_clap.git
synced 2026-07-01 12:13:58 -04:00
!17 merge master into master
clap新增bundle.json部件化 Created-by: dragonswordy Commit-by: ljy9810 Merged-by: openharmony_ci Description: <!-- Thanks for helping out! Please link the appropriate issue from your PR. If you don't have an issue, we'd recommend starting with one first so the PR can focus on the implementation (unless its an obvious bug or documentation fix that will have little conversation). --> https://gitcode.com/openharmony/third_party_rust_autocfg/issues/3 See merge request: openharmony/third_party_rust_clap!17
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