Skip to content

Commit

Permalink
hitrace: Add hitrace api 12 bindings
Browse files Browse the repository at this point in the history
Signed-off-by: Jonathan Schwender <[email protected]>
  • Loading branch information
jschwe committed Sep 5, 2024
1 parent 3a28864 commit c5a490e
Show file tree
Hide file tree
Showing 8 changed files with 1,462 additions and 3 deletions.
4 changes: 4 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions components/hitrace/CHANGELOG.md
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)
17 changes: 16 additions & 1 deletion components/hitrace/Cargo.toml
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"]
Loading

0 comments on commit c5a490e

Please sign in to comment.