| 1 |
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO |
| 2 |
# |
| 3 |
# When uploading crates to the registry Cargo will automatically |
| 4 |
# "normalize" Cargo.toml files for maximal compatibility |
| 5 |
# with all versions of Cargo and also rewrite `path` dependencies |
| 6 |
# to registry (e.g., crates.io) dependencies. |
| 7 |
# |
| 8 |
# If you are reading this file be aware that the original Cargo.toml |
| 9 |
# will likely look very different (and much more reasonable). |
| 10 |
# See Cargo.toml.orig for the original contents. |
| 11 |
|
| 12 |
[package] |
| 13 |
edition = "2018" |
| 14 |
rust-version = "1.60" |
| 15 |
name = "profiling" |
| 16 |
version = "1.0.17" |
| 17 |
authors = ["Philip Degarmo <[email protected]>"] |
| 18 |
build = false |
| 19 |
exclude = [ |
| 20 |
"/examples", |
| 21 |
"/screenshots", |
| 22 |
] |
| 23 |
autobins = false |
| 24 |
autoexamples = false |
| 25 |
autotests = false |
| 26 |
autobenches = false |
| 27 |
description = "This crate provides a very thin abstraction over other profiler crates." |
| 28 |
homepage = "https://github.com/aclysma/profiling" |
| 29 |
readme = "README.md" |
| 30 |
keywords = [ |
| 31 |
"performance", |
| 32 |
"profiling", |
| 33 |
] |
| 34 |
categories = ["development-tools::profiling"] |
| 35 |
license = "MIT OR Apache-2.0" |
| 36 |
repository = "https://github.com/aclysma/profiling" |
| 37 |
|
| 38 |
[lib] |
| 39 |
name = "profiling" |
| 40 |
path = "src/lib.rs" |
| 41 |
|
| 42 |
[dependencies.optick] |
| 43 |
version = "1.3" |
| 44 |
optional = true |
| 45 |
|
| 46 |
[dependencies.profiling-procmacros] |
| 47 |
version = "1.0.17" |
| 48 |
optional = true |
| 49 |
|
| 50 |
[dependencies.puffin] |
| 51 |
version = "0.19" |
| 52 |
optional = true |
| 53 |
|
| 54 |
[dependencies.superluminal-perf] |
| 55 |
version = "0.4" |
| 56 |
optional = true |
| 57 |
|
| 58 |
[dependencies.tracing] |
| 59 |
version = "0.1" |
| 60 |
optional = true |
| 61 |
|
| 62 |
[dependencies.tracy-client] |
| 63 |
version = "0.18" |
| 64 |
optional = true |
| 65 |
|
| 66 |
[dev-dependencies.bincode] |
| 67 |
version = "1.3.1" |
| 68 |
|
| 69 |
[dev-dependencies.env_logger] |
| 70 |
version = "0.6" |
| 71 |
|
| 72 |
[dev-dependencies.lazy_static] |
| 73 |
version = "1" |
| 74 |
|
| 75 |
[dev-dependencies.log] |
| 76 |
version = "0.4" |
| 77 |
|
| 78 |
[dev-dependencies.tracing-subscriber] |
| 79 |
version = "0.3" |
| 80 |
|
| 81 |
[dev-dependencies.tracing-tracy] |
| 82 |
version = "0.11.3" |
| 83 |
|
| 84 |
[features] |
| 85 |
default = ["procmacros"] |
| 86 |
procmacros = ["profiling-procmacros"] |
| 87 |
profile-with-optick = [ |
| 88 |
"optick", |
| 89 |
"profiling-procmacros?/profile-with-optick", |
| 90 |
] |
| 91 |
profile-with-puffin = [ |
| 92 |
"puffin", |
| 93 |
"profiling-procmacros?/profile-with-puffin", |
| 94 |
] |
| 95 |
profile-with-superluminal = [ |
| 96 |
"superluminal-perf", |
| 97 |
"profiling-procmacros?/profile-with-superluminal", |
| 98 |
] |
| 99 |
profile-with-tracing = [ |
| 100 |
"tracing", |
| 101 |
"profiling-procmacros?/profile-with-tracing", |
| 102 |
] |
| 103 |
profile-with-tracy = [ |
| 104 |
"tracy-client", |
| 105 |
"profiling-procmacros?/profile-with-tracy", |
| 106 |
] |
| 107 |
type-check = [] |