diff --git a/BUILD.gn b/BUILD.gn index f29f8f5..a74b055 100644 --- a/BUILD.gn +++ b/BUILD.gn @@ -28,4 +28,7 @@ ohos_cargo_crate("lib") { "memchr", "raw_os_str", ] + module_output_extension = ".rlib" + part_name = "rust_os_str_bytes" + subsystem_name = "thirdparty" } diff --git a/bundle.json b/bundle.json new file mode 100644 index 0000000..c437c5a --- /dev/null +++ b/bundle.json @@ -0,0 +1,34 @@ +{ + "name": "@ohos/rust_os_str_bytes", + "description": "A Rust library that provides support for working with OS strings and bytes.", + "version": "6.1", + "license": "Apache License 2.0", + "publishAs": "code-segment", + "segment": { + "destPath": "third_party/rust/crates/os_str_bytes" + }, + "dirs": {}, + "scripts": {}, + "readmePath": { + "en": "README.md" + }, + "component": { + "name": "rust_os_str_bytes", + "subsystem": "thirdparty", + "adapted_system_type": [ + "standard" + ], + "deps": { + "components": [] + }, + "build": { + "sub_component": [], + "inner_kits": [ + { + "name": "//third_party/rust/crates/os_str_bytes:lib" + } + ], + "test": [] + } + } +} \ No newline at end of file