1[package]
2name = "profiling"
3version = "1.0.16"
4authors = ["Philip Degarmo <aclysma@gmail.com>"]
5edition = "2018"
6description = "This crate provides a very thin abstraction over other profiler crates."
7license = "MIT OR Apache-2.0"
8readme = "../README.md"
9repository = "https://github.com/aclysma/profiling"
10homepage = "https://github.com/aclysma/profiling"
11keywords = ["performance", "profiling"]
12categories = ["development-tools::profiling"]
13exclude = ["/examples", "/screenshots"]
14rust-version = "1.60"
15
16[dependencies]
17puffin = { version = "0.19", optional = true }
18optick = { version = "1.3", optional = true }
19tracing = { version = "0.1", optional = true }
20tracy-client = { version = "0.17", optional = true }
21superluminal-perf = { version = "0.1", optional = true }
22profiling-procmacros = { version = "1.0.16", path = "../profiling-procmacros", optional = true }
23
24[dev-dependencies]
25bincode = "1.3.1"
26lazy_static = "1"
27log = "0.4"
28env_logger = "0.6"
29
30tracing-tracy = { version = "0.11.3" }
31tracing-subscriber = { version = "0.3" }
32
33[features]
34default = ["procmacros"]
35profile-with-puffin = ["puffin", "profiling-procmacros?/profile-with-puffin"]
36profile-with-optick = ["optick", "profiling-procmacros?/profile-with-optick"]
37profile-with-superluminal = [
38 "superluminal-perf",
39 "profiling-procmacros?/profile-with-superluminal",
40]
41profile-with-tracing = ["tracing", "profiling-procmacros?/profile-with-tracing"]
42profile-with-tracy = [
43 "tracy-client",
44 "profiling-procmacros?/profile-with-tracy",
45]
46type-check = []
47procmacros = ["profiling-procmacros"]
48
49[[example]]
50name = "simple"
51path = "examples/simple.rs"
52required-features = []
53