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