[package]
name = "profiling"
version = "0.1.4"
authors = ["Philip Degarmo <aclysma@gmail.com>"]
edition = "2018"
description = "This crate provides a very thin abstraction over other profiler crates."
license = "MIT OR Apache-2.0"
readme = "README.md"
repository = "https://github.com/aclysma/profiling"
homepage = "https://github.com/aclysma/profiling"
keywords = ["performance", "profiling"]
categories = ["development-tools::profiling"]
[dependencies]
puffin = { version = "0.3", optional = true }
optick = { version = "1.3", optional = true }
tracing = { version = "0.1", optional = true }
tracy-client = { version = "0.10", optional = true }
superluminal-perf = { version = "0.1", optional = true }
profiling-procmacros = { version = "0.1.2", path = "profiling-procmacros", optional = true }
[dev-dependencies]
skulpin = { version = "0.11.1", default-features = false, features = ["skia_complete", "skulpin_winit", "winit-23"] }
skulpin-plugin-imgui = "0.7"
puffin-imgui = "0.5"
log = "0.4"
env_logger = "0.6"
imgui = "0.6"
imgui-winit-support = "0.6"
tracing-tracy = { version = "0.4.0" }
tracing-subscriber = { version = "0.2" }
[features]
default = ["procmacros"]
profile-with-puffin = ["puffin"]
profile-with-optick = ["optick"]
profile-with-superluminal = ["superluminal-perf"]
profile-with-tracing = ["tracing"]
profile-with-tracy = ["profile-with-tracing", "tracy-client"]
procmacros = ["profiling-procmacros"]
[[example]]
name = "puffin"
required-features = ["profile-with-puffin"]
[[example]]
name = "simple"
required-features = []