diff --git a/BUILD.gn b/BUILD.gn index 45cb055..dd6271c 100644 --- a/BUILD.gn +++ b/BUILD.gn @@ -23,4 +23,7 @@ ohos_cargo_crate("lib") { cargo_pkg_version = "0.3.1" cargo_pkg_authors = "The Rust Project Developers" cargo_pkg_name = "glob" + module_output_extension = ".rlib" + part_name = "rust_glob" + subsystem_name = "thirdparty" } diff --git a/bundle.json b/bundle.json new file mode 100644 index 0000000..18cf8a1 --- /dev/null +++ b/bundle.json @@ -0,0 +1,34 @@ +{ + "name": "@ohos/rust_glob", + "description": "A Rust library that provides support for glob pattern matching", + "version": "6.1", + "license": "Apache License 2.0", + "publishAs": "code-segment", + "segment": { + "destPath": "third_party/rust/crates/glob" + }, + "dirs": {}, + "scripts": {}, + "readmePath": { + "en": "README.md" + }, + "component": { + "name": "rust_glob", + "subsystem": "thirdparty", + "adapted_system_type": [ + "standard" + ], + "deps": { + "components": [] + }, + "build": { + "sub_component": [], + "inner_kits": [ + { + "name": "//third_party/rust/crates/glob:lib" + } + ], + "test": [] + } + } +} \ No newline at end of file