hitrace 0.2.0

Safe bindings to the HiTrace tracing system of OpenHarmony
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
name = "hitrace"
version = "0.2.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Safe bindings to the HiTrace tracing system of OpenHarmony"
readme = "README.md"
keywords = [
    "OpenHarmony",
    "HarmonyOS",
    "hitrace",
    "tracing",
]
license = "Apache-2.0"
repository = "https://github.com/huawei-drc/hitrace"

[features]
api-19 = ["hitrace-sys/api-19"]
max_level_off = []
tracing-rs = ["tracing-core"]

[lib]
name = "hitrace"
path = "src/lib.rs"

[[test]]
name = "ohos_trace_api19"
path = "tests/ohos_trace_api19.rs"

[[test]]
name = "ohos_trace_basic"
path = "tests/ohos_trace_basic.rs"

[[test]]
name = "ohos_trace_macro"
path = "tests/ohos_trace_macro.rs"

[[test]]
name = "ohos_trace_scoped"
path = "tests/ohos_trace_scoped.rs"

[dependencies.tracing-core]
version = "0.1.36"
optional = true

[dev-dependencies.static_assertions]
version = "1.1.0"

[target.'cfg(target_env = "ohos")'.dependencies.hitrace-sys]
version = "0.1.9"