[package]
edition = "2024"
name = "timetrace"
version = "0.2.2"
authors = ["Gleb"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Lightweight Rust profiling library with RAII and Chrome/Perfetto trace support"
documentation = "https://docs.rs/timetrace"
readme = "README.md"
keywords = [
"profiling",
"tracing",
"performance",
"timing",
"instrumentation",
]
categories = ["development-tools::profiling"]
license = "Apache-2.0"
repository = "https://github.com/glpetrikov/timetrace"
[features]
default = ["macros"]
json = ["timetrace_macros/json"]
macros = ["dep:timetrace_macros"]
tracy = [
"dep:tracy-client",
"timetrace_macros/tracy",
]
[lib]
name = "timetrace"
path = "src/lib.rs"
[dependencies.once_cell]
version = "1"
[dependencies.parking_lot]
version = "0.12"
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.timetrace_macros]
version = "0.2.2"
optional = true
[dependencies.tracy-client]
version = "0.18.4"
optional = true