forked from aclysma/profiling
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
66 lines (57 loc) · 2.02 KB
/
Cargo.toml
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
[workspace]
members = [
"profiling-procmacros",
".",
]
[package]
name = "profiling"
version = "1.0.7"
authors = ["Philip Degarmo <[email protected]>"]
edition = "2018"
description = "This crate provides a very thin abstraction over other profiler crates."
license = "MIT OR Apache-2.0"
readme = "README.md"
repository = "https://github.com/aclysma/profiling"
homepage = "https://github.com/aclysma/profiling"
keywords = ["performance", "profiling"]
categories = ["development-tools::profiling"]
exclude = ["/examples", "/screenshots"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
puffin = { version = "0.12.1", optional = true }
optick = { version = "1.3", optional = true }
tracing = { version = "0.1", optional = true }
tracy-client = { version = "0.14.1", optional = true }
superluminal-perf = { version = "0.1", optional = true }
profiling-procmacros = { version = "1.0.7", path = "profiling-procmacros", optional = true }
[dev-dependencies]
# Needed for the puffin example
rafx = { version = "=0.0.14", features = ["rafx-vulkan", "framework"] }
winit = "0.25"
bincode = "1.3.1"
lazy_static = "1"
imgui = "0.8"
imgui-winit-support = "0.8"
puffin-imgui = "0.15.0"
glam = "0.8.6"
log = "0.4"
env_logger = "0.6"
tracing-tracy = { version = "0.4.0" }
tracing-subscriber = { version = "0.2" }
[features]
default = ["procmacros"]
profile-with-puffin = ["puffin", "profiling-procmacros/profile-with-puffin"]
profile-with-optick = ["optick", "profiling-procmacros/profile-with-optick"]
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 = []
procmacros = ["profiling-procmacros"]
[[example]]
name = "puffin"
path = "examples/puffin/puffin.rs"
required-features = ["profile-with-puffin"]
[[example]]
name = "simple"
path = "examples/simple.rs"
required-features = []