vor 0.2.0

Cross-platform performance instrumentation with an in-app egui panel and live system and GPU metrics.
Documentation
# 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 = "2024"
rust-version = "1.96"
name = "vor"
version = "0.2.0"
authors = ["Sarthak <sarthakconsul@gmail.com>"]
build = false
exclude = ["/examples/web"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Cross-platform performance instrumentation with an in-app egui panel and live system and GPU metrics."
readme = "README.md"
keywords = [
    "profiling",
    "puffin",
    "tracing",
    "egui",
    "gpu",
]
categories = [
    "development-tools::profiling",
    "visualization",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/SConsul/vor"

[features]
cuda = [
    "dep:nvml-wrapper",
    "dep:nvtx",
    "gpu",
]
default = []
gpu = []
mac = [
    "dep:core-foundation",
    "dep:io-kit-sys",
    "dep:libc",
    "dep:memory-stats",
    "dep:tracing-chrome",
    "dep:tracing-subscriber",
    "gpu",
]
viz = ["dep:egui"]
web = [
    "dep:js-sys",
    "dep:tracing-wasm",
    "dep:web-sys",
    "puffin/web",
]

[lib]
name = "vor"
path = "src/lib.rs"

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

[[example]]
name = "headless"
path = "examples/headless.rs"

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

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

[[test]]
name = "probe"
path = "tests/probe.rs"

[dependencies.core-foundation]
version = "0.10"
optional = true

[dependencies.egui]
version = "0.34"
optional = true

[dependencies.hdrhistogram]
version = "7"

[dependencies.io-kit-sys]
version = "0.5"
optional = true

[dependencies.js-sys]
version = "0.3"
optional = true

[dependencies.libc]
version = "0.2"
optional = true

[dependencies.lz4_flex]
version = "0.13"

[dependencies.memory-stats]
version = "1"
optional = true

[dependencies.nvml-wrapper]
version = "0.12"
optional = true

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

[dependencies.puffin]
version = "0.20"
features = ["serialization"]

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-chrome]
version = "0.7"
optional = true

[dependencies.tracing-subscriber]
version = "0.3"
optional = true

[dependencies.tracing-wasm]
version = "0.2"
optional = true

[dependencies.vor-macros]
version = "0.2.0"

[dependencies.web-sys]
version = "0.3"
features = [
    "Performance",
    "Window",
]
optional = true

[dependencies.web-time]
version = "1"

[dev-dependencies.eframe]
version = "0.34"
features = [
    "default_fonts",
    "glow",
    "wayland",
    "x11",
]
default-features = false

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

[dev-dependencies.puffin]
version = "0.20"
features = ["serialization"]

[lints.clippy]
missing_const_for_fn = "warn"
new_without_default = "allow"

[profile.release]
lto = "thin"
codegen-units = 1