[package]
edition = "2018"
rust-version = "1.60"
name = "profiling"
version = "1.0.18"
authors = ["Philip Degarmo <aclysma@gmail.com>"]
build = false
exclude = [
"/examples",
"/screenshots",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "This crate provides a very thin abstraction over other profiler crates."
homepage = "https://github.com/aclysma/profiling"
readme = "README.md"
keywords = [
"performance",
"profiling",
]
categories = ["development-tools::profiling"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/aclysma/profiling"
[features]
default = ["procmacros"]
procmacros = ["profiling-procmacros"]
profile-with-optick = [
"optick",
"profiling-procmacros?/profile-with-optick",
]
profile-with-puffin = [
"puffin",
"profiling-procmacros?/profile-with-puffin",
]
profile-with-superluminal = [
"superluminal-perf",
"profiling-procmacros?/profile-with-superluminal",
]
profile-with-tracing = [
"tracing",
"profiling-procmacros?/profile-with-tracing",
]
profile-with-tracy = [
"tracy-client",
"profiling-procmacros?/profile-with-tracy",
]
type-check = []
[lib]
name = "profiling"
path = "src/lib.rs"
[dependencies.optick]
version = "1.3"
optional = true
[dependencies.profiling-procmacros]
version = "1.0.18"
optional = true
[dependencies.puffin]
version = "0.20"
optional = true
[dependencies.superluminal-perf]
version = "0.4"
optional = true
[dependencies.tracing]
version = "0.1"
optional = true
[dependencies.tracy-client]
version = "0.18"
optional = true
[dev-dependencies.tracing-subscriber]
version = "0.3"
[dev-dependencies.tracing-tracy]
version = "0.11.3"