-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
hitrace: Add hitrace api 12 bindings
Signed-off-by: Jonathan Schwender <[email protected]>
- Loading branch information
Showing
8 changed files
with
1,462 additions
and
3 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# 0.1.2 (2024-09-05) | ||
|
||
## Added | ||
|
||
- hitrace API level 12 bindings (beta) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,25 @@ | ||
[package] | ||
name = "hitrace-sys" | ||
version = "0.1.1" | ||
version = "0.1.2" | ||
edition = "2021" | ||
keywords = ["OpenHarmony", "HarmonyOS", "hitrace", "tracing"] | ||
license = "Apache-2.0" | ||
description = "Bindings to the HiTrace tracing system of OpenHarmony" | ||
repository = "https://github.com/openharmony-rs/ohos-sys" | ||
readme = "README.md" | ||
include = ["/src"] | ||
exclude = ["src/hitrace_api11.rs", "src/hitrace_api12.rs"] | ||
|
||
[features] | ||
default = ["api-10"] | ||
#! ### OpenHarmony API level | ||
#! This crate by default exposes bindings for API-level 10. | ||
#! Optionally enable one of the `api-*` features to get access to bindings for newer | ||
#! OpenHarmony versions. | ||
|
||
## No effect. API-10 bindings can't be deselected. The feature exists for internal purposes. | ||
api-10 = [] | ||
## Enables bindings for OpenHarmony API-level 11 (No additions) | ||
api-11 = ["api-10"] | ||
## Enables bindings for OpenHarmony API-level 12 | ||
api-12 = ["api-11"] |
Oops, something went wrong.