mirror of
https://github.com/openharmony/third_party_rust_humantime.git
synced 2026-07-01 21:14:06 -04:00
humantime新增bundle.json部件化
Signed-off-by: ljy9810 <longjianyin@h-partners.com>
This commit is contained in:
@@ -24,4 +24,7 @@ ohos_cargo_crate("lib") {
|
||||
cargo_pkg_authors = "Paul Colomiets <paul@colomiets.name>"
|
||||
cargo_pkg_name = "humantime"
|
||||
cargo_pkg_description = "A parser and formatter for std::time::{Duration, SystemTime}"
|
||||
module_output_extension = ".rlib"
|
||||
part_name = "rust_humantime"
|
||||
subsystem_name = "thirdparty"
|
||||
}
|
||||
|
||||
+34
@@ -0,0 +1,34 @@
|
||||
{
|
||||
"name": "@ohos/rust_humantime",
|
||||
"description": "A Rust library that provides support for human-readable time formatting",
|
||||
"version": "6.1",
|
||||
"license": "Apache License 2.0",
|
||||
"publishAs": "code-segment",
|
||||
"segment": {
|
||||
"destPath": "third_party/rust/crates/humantime"
|
||||
},
|
||||
"dirs": {},
|
||||
"scripts": {},
|
||||
"readmePath": {
|
||||
"en": "README.md"
|
||||
},
|
||||
"component": {
|
||||
"name": "rust_humantime",
|
||||
"subsystem": "thirdparty",
|
||||
"adapted_system_type": [
|
||||
"standard"
|
||||
],
|
||||
"deps": {
|
||||
"components": []
|
||||
},
|
||||
"build": {
|
||||
"sub_component": [],
|
||||
"inner_kits": [
|
||||
{
|
||||
"name": "//third_party/rust/crates/humantime:lib"
|
||||
}
|
||||
],
|
||||
"test": []
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user