summaryrefslogtreecommitdiffstats
path: root/third_party/rust/profiling/Cargo.toml
blob: e5ac884890fbeb7d0a9cbe785b5feb60b0bb3332 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2018"
name = "profiling"
version = "1.0.7"
authors = ["Philip Degarmo <aclysma@gmail.com>"]
exclude = [
    "/examples",
    "/screenshots",
]
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"

[[example]]
name = "puffin"
path = "examples/puffin/puffin.rs"
required-features = ["profile-with-puffin"]

[[example]]
name = "simple"
path = "examples/simple.rs"
required-features = []

[dependencies.optick]
version = "1.3"
optional = true

[dependencies.profiling-procmacros]
version = "1.0.7"
optional = true

[dependencies.puffin]
version = "0.12.1"
optional = true

[dependencies.superluminal-perf]
version = "0.1"
optional = true

[dependencies.tracing]
version = "0.1"
optional = true

[dependencies.tracy-client]
version = "0.14.1"
optional = true

[dev-dependencies.bincode]
version = "1.3.1"

[dev-dependencies.env_logger]
version = "0.6"

[dev-dependencies.glam]
version = "0.8.6"

[dev-dependencies.imgui]
version = "0.8"

[dev-dependencies.imgui-winit-support]
version = "0.8"

[dev-dependencies.lazy_static]
version = "1"

[dev-dependencies.log]
version = "0.4"

[dev-dependencies.puffin-imgui]
version = "0.15.0"

[dev-dependencies.rafx]
version = "=0.0.14"
features = [
    "rafx-vulkan",
    "framework",
]

[dev-dependencies.tracing-subscriber]
version = "0.2"

[dev-dependencies.tracing-tracy]
version = "0.4.0"

[dev-dependencies.winit]
version = "0.25"

[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 = []