108 lines
2.3 KiB
TOML
108 lines
2.3 KiB
TOML
# 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"
|
|
rust-version = "1.60"
|
|
name = "profiling"
|
|
version = "1.0.17"
|
|
authors = ["Philip Degarmo <aclysma@gmail.com>"]
|
|
build = false
|
|
exclude = [
|
|
"/examples",
|
|
"/screenshots",
|
|
]
|
|
autobins = false
|
|
autoexamples = false
|
|
autotests = false
|
|
autobenches = false
|
|
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"
|
|
|
|
[lib]
|
|
name = "profiling"
|
|
path = "src/lib.rs"
|
|
|
|
[dependencies.optick]
|
|
version = "1.3"
|
|
optional = true
|
|
|
|
[dependencies.profiling-procmacros]
|
|
version = "1.0.17"
|
|
optional = true
|
|
|
|
[dependencies.puffin]
|
|
version = "0.19"
|
|
optional = true
|
|
|
|
[dependencies.superluminal-perf]
|
|
version = "0.4"
|
|
optional = true
|
|
|
|
[dependencies.tracing]
|
|
version = "0.1"
|
|
optional = true
|
|
|
|
[dependencies.tracy-client]
|
|
version = "0.18"
|
|
optional = true
|
|
|
|
[dev-dependencies.bincode]
|
|
version = "1.3.1"
|
|
|
|
[dev-dependencies.env_logger]
|
|
version = "0.6"
|
|
|
|
[dev-dependencies.lazy_static]
|
|
version = "1"
|
|
|
|
[dev-dependencies.log]
|
|
version = "0.4"
|
|
|
|
[dev-dependencies.tracing-subscriber]
|
|
version = "0.3"
|
|
|
|
[dev-dependencies.tracing-tracy]
|
|
version = "0.11.3"
|
|
|
|
[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 = []
|