mirror of
https://github.com/openharmony/third_party_rust_nom.git
synced 2026-06-30 21:07:54 -04:00
!4 merge master into master
nom新增bundle.json部件化 Created-by: dragonswordy Commit-by: ljy9810 Merged-by: openharmony_ci Description: <!-- Hello, and thank you for submitting a pull request to nom! First, please note that, for family reasons, I have limited time to work on nom, so following the advice here will make sure I will quickly understand your work and be able to merge it early. Second, if I don't get to work on your PR quickly, that does not mean I won't include it later. Major version releases happen once a year, and a lot of interesting work is merged for the occasion. So I will get back to you :) ## Prerequisites Please provide the following information with this pull request: - related issue number (I need some context to understand a PR with a lot of code, except for documentation typos) - a test case reproducing the issue. You can write it in [issues.rs](https://github.com/Geal/nom/blob/main/tests/issues.rs) - if adding a new combinator, please add code documentation and some unit tests in the same file. Also, please update the [combinator list](https://github.com/Geal/nom/blob/main/doc/choosing_a_combinator.md) ## Code style This project follows a [code style](https://github.com/Geal/nom/blob/main/rustfmt.toml) checked by [rustfmt][https://github.com/rust-lang-nursery/rustfmt]. Please avoid cosmetic fixes unrelated to the pull request. Keeping the changes as small as possible increase your chances of getting this merged quickly. ## Rebasing To make sure the changes will work properly once merged into the main branch (which might have changed while you were working on your PR), please [rebase your PR on main](https://git-scm.com/book/en/v2/Git-Branching-Rebasing). ## Squashing the commits If the pull request include a lot of small commits used for testing, debugging, or correcting previous work, it might be useful to [squash the commits](https://git-scm.com/book/en/v2/Git-Tools-Rewriting-History) to make the code easier to merge. --> https://gitcode.com/openharmony/third_party_rust_autocfg/issues/3 See merge request: openharmony/third_party_rust_nom!4
This commit is contained in:
@@ -32,4 +32,7 @@ ohos_cargo_crate("lib") {
|
||||
"alloc",
|
||||
"std",
|
||||
]
|
||||
module_output_extension = ".rlib"
|
||||
part_name = "rust_nom"
|
||||
subsystem_name = "thirdparty"
|
||||
}
|
||||
|
||||
+34
@@ -0,0 +1,34 @@
|
||||
{
|
||||
"name": "@ohos/rust_nom",
|
||||
"description": "A Rust library that provides support for parsing byte streams.",
|
||||
"version": "6.1",
|
||||
"license": "MIT License",
|
||||
"publishAs": "code-segment",
|
||||
"segment": {
|
||||
"destPath": "third_party/rust/crates/nom"
|
||||
},
|
||||
"dirs": {},
|
||||
"scripts": {},
|
||||
"readmePath": {
|
||||
"en": "README.md"
|
||||
},
|
||||
"component": {
|
||||
"name": "rust_nom",
|
||||
"subsystem": "thirdparty",
|
||||
"adapted_system_type": [
|
||||
"standard"
|
||||
],
|
||||
"deps": {
|
||||
"components": []
|
||||
},
|
||||
"build": {
|
||||
"sub_component": [],
|
||||
"inner_kits": [
|
||||
{
|
||||
"name": "//third_party/rust/crates/nom:lib"
|
||||
}
|
||||
],
|
||||
"test": []
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user