mirror of
https://github.com/openharmony/third_party_rust_io-lifetimes.git
synced 2026-06-30 21:17:55 -04:00
io-lifetimes新增bundle.json部件化
Signed-off-by: ljy9810 <longjianyin@h-partners.com>
This commit is contained in:
@@ -24,7 +24,7 @@ ohos_cargo_crate("lib") {
|
||||
cargo_pkg_authors = "Dan Gohman <dev@sunfishcode.online>"
|
||||
cargo_pkg_name = "io-lifetimes"
|
||||
cargo_pkg_description = "A low-level I/O ownership and borrowing library"
|
||||
deps = [ "//third_party/rust/crates/libc:lib" ]
|
||||
external_deps = [ "rust_libc:lib" ]
|
||||
features = [
|
||||
"close",
|
||||
"libc",
|
||||
@@ -33,4 +33,7 @@ ohos_cargo_crate("lib") {
|
||||
build_root = "build.rs"
|
||||
build_sources = [ "build.rs" ]
|
||||
build_script_outputs = [ "librust_out.rmeta" ]
|
||||
module_output_extension = ".rlib"
|
||||
part_name = "rust_io_lifetimes"
|
||||
subsystem_name = "thirdparty"
|
||||
}
|
||||
|
||||
+36
@@ -0,0 +1,36 @@
|
||||
{
|
||||
"name": "@ohos/rust_io_lifetimes",
|
||||
"description": "A Rust library that provides support for lifetime annotations in IO operations",
|
||||
"version": "6.1",
|
||||
"license": "Apache License 2.0",
|
||||
"publishAs": "code-segment",
|
||||
"segment": {
|
||||
"destPath": "third_party/rust/crates/io-lifetimes"
|
||||
},
|
||||
"dirs": {},
|
||||
"scripts": {},
|
||||
"readmePath": {
|
||||
"en": "README.md"
|
||||
},
|
||||
"component": {
|
||||
"name": "rust_io_lifetimes",
|
||||
"subsystem": "thirdparty",
|
||||
"adapted_system_type": [
|
||||
"standard"
|
||||
],
|
||||
"deps": {
|
||||
"components": [
|
||||
"rust_libc"
|
||||
]
|
||||
},
|
||||
"build": {
|
||||
"sub_component": [],
|
||||
"inner_kits": [
|
||||
{
|
||||
"name": "//third_party/rust/crates/io-lifetimes:lib"
|
||||
}
|
||||
],
|
||||
"test": []
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user