mirror of
https://github.com/openharmony/third_party_rust_is-terminal.git
synced 2026-07-01 21:45:01 -04:00
is-terminal新增bundle.json部件化
Signed-off-by: ljy9810 <longjianyin@h-partners.com>
This commit is contained in:
@@ -28,4 +28,7 @@ ohos_cargo_crate("lib") {
|
||||
"//third_party/rust/crates/io-lifetimes:lib",
|
||||
"//third_party/rust/crates/rustix:lib",
|
||||
]
|
||||
module_output_extension = ".rlib"
|
||||
part_name = "rust_is_terminal"
|
||||
subsystem_name = "thirdparty"
|
||||
}
|
||||
|
||||
+34
@@ -0,0 +1,34 @@
|
||||
{
|
||||
"name": "@ohos/rust_is_terminal",
|
||||
"description": "A Rust library that provides support for detecting whether a terminal is present.",
|
||||
"version": "6.1",
|
||||
"license": "MIT License",
|
||||
"publishAs": "code-segment",
|
||||
"segment": {
|
||||
"destPath": "third_party/rust/crates/is-terminal"
|
||||
},
|
||||
"dirs": {},
|
||||
"scripts": {},
|
||||
"readmePath": {
|
||||
"en": "README.md"
|
||||
},
|
||||
"component": {
|
||||
"name": "rust_is_terminal",
|
||||
"subsystem": "thirdparty",
|
||||
"adapted_system_type": [
|
||||
"standard"
|
||||
],
|
||||
"deps": {
|
||||
"components": []
|
||||
},
|
||||
"build": {
|
||||
"sub_component": [],
|
||||
"inner_kits": [
|
||||
{
|
||||
"name": "//third_party/rust/crates/is-terminal:lib"
|
||||
}
|
||||
],
|
||||
"test": []
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user