-
Notifications
You must be signed in to change notification settings - Fork 3
/
Cargo.toml
76 lines (63 loc) · 2.38 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
67
68
69
70
71
72
73
74
75
76
[package]
name = "tracy_full"
version = "1.10.0"
authors = ["SparkyPotato"]
license = "MIT"
edition = "2021"
readme = "README.md"
repository = "https://github.com/SparkyPotato/tracy_full"
documentation = "https://docs.rs/tracy_full"
description = "Fully featured bindings for the Tracy profiler"
[[test]]
name = "tests"
path = "tests/tests.rs"
harness = false
[features]
# Default features that tracy uses.
default = ["system-tracing", "context-switch-tracing", "sampling", "code-transfer", "broadcast"]
# Enable nightly-only features and optimizations.
unstable = []
# Enable the nightly Allocator API features.
allocator_api = ["unstable"]
# Bevy support.
bevy = ["bevy_ecs", "futures"]
# Tracing support.
tracing = ["dep:tracing", "tracing-subscriber"]
# WGPU support.
wgpu = ["dep:wgpu", "futures-lite"]
# Enable the capture of profiling data. Disabled by default.
enable = ["sys/enable"]
# Expose manual initialization and shutdown functions. These must be called before any other tracy functions.
manual-init = ["sys/manual-lifetime"]
# Enable support for fibers, coroutines, and async/await.
futures = ["sys/fibers"]
# Enable the capture of system-level details, if possible.
system-tracing = ["sys/system-tracing"]
# Enable the capture of context-switch data.
context-switch-tracing = ["sys/context-switch-tracing"]
# Enable sampling of call-stacks.
sampling = ["sys/sampling"]
# Enable the capture of machine code data.
code-transfer = ["sys/code-transfer"]
# Enable the broadcast of profiling data on the network.
broadcast = ["sys/broadcast"]
# Connect only to profiles running on the same machine.
only-localhost = ["sys/only-localhost"]
# Connect through IPv4 only.
only-ipv4 = ["sys/only-ipv4"]
# Enable support for low-resolution timers.
timer-fallback = ["sys/timer-fallback"]
# Enable support for profiling on demand. This has a minor performance penalty.
ondemand = ["sys/ondemand"]
[build-dependencies]
rustc_version = "0.4"
[dependencies]
ctor = { version = "0.2", optional = true }
sys = { package = "tracy-client-sys", version = "0.24.0", default-features = false }
bevy_ecs = { version = "0.13", optional = true }
futures-lite = { version = "2.0", optional = true }
tracing = { version = "0.1", optional = true }
tracing-subscriber = { version = "0.3", optional = true }
wgpu = { version = "22.1", optional = true, default-features = false }
[target.'cfg(not(unstable))'.dependencies]
once_cell = "1.10.0"