[package]
edition = "2021"
rust-version = "1.70.0"
name = "tracy-client"
version = "0.19.0"
authors = ["Simonas Kazlauskas <tracy-client@kazlauskas.me>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = """
High level bindings to the client libraries for the Tracy profiler
"""
homepage = "https://github.com/nagisa/rust_tracy_client"
documentation = "https://docs.rs/tracy-client"
readme = "README.mkd"
license = "MIT/Apache-2.0"
repository = "https://github.com/nagisa/rust_tracy_client"
[package.metadata.docs.rs]
all-features = true
[features]
broadcast = ["sys/broadcast"]
callstack-inlines = ["sys/callstack-inlines"]
code-transfer = ["sys/code-transfer"]
context-switch-tracing = ["sys/context-switch-tracing"]
crash-handler = ["sys/crash-handler"]
debuginfod = ["sys/debuginfod"]
default = [
"enable",
"system-tracing",
"context-switch-tracing",
"sampling",
"code-transfer",
"broadcast",
"callstack-inlines",
"crash-handler",
"wait-stacks",
]
demangle = [
"sys/demangle",
"dep:rustc-demangle",
]
enable = ["sys/enable"]
fibers = ["sys/fibers"]
flush-on-exit = ["sys/flush-on-exit"]
manual-lifetime = ["sys/manual-lifetime"]
ondemand = ["sys/ondemand"]
only-ipv4 = ["sys/only-ipv4"]
only-localhost = ["sys/only-localhost"]
sampling = ["sys/sampling"]
system-tracing = ["sys/system-tracing"]
timer-fallback = ["sys/timer-fallback"]
verify = ["sys/verify"]
wait-stacks = ["sys/wait-stacks"]
[lib]
name = "tracy_client"
path = "src/lib.rs"
[[test]]
name = "loom"
path = "tests/loom.rs"
harness = false
[[test]]
name = "tests"
path = "tests/tests.rs"
harness = false
[[bench]]
name = "client"
path = "benches/client.rs"
harness = false
[dependencies.once_cell]
version = "1.19"
[dependencies.rustc-demangle]
version = "0.1"
optional = true
[dependencies.sys]
version = ">=0.23.0, <0.31.0"
default-features = false
package = "tracy-client-sys"
[dev-dependencies.criterion]
version = "0.7"
[target."cfg(loom)".dependencies.loom]
version = "0.7"