martensite-devtools 0.18.0

Tracing spans, Tracy/Chrome GPU timestamps, and in-app F12 developer HUD.
Documentation
[package]
name = "martensite-devtools"
version.workspace = true
edition.workspace = true
rust-version.workspace = true
license.workspace = true
authors.workspace = true
repository.workspace = true
keywords.workspace = true
categories.workspace = true
homepage.workspace = true
description = "Tracing spans, Tracy/Chrome GPU timestamps, and in-app F12 developer HUD."
readme = "README.md"

[dependencies]
martensite-core = { workspace = true }
martensite-history = { workspace = true, optional = true }
martensite-reactive = { workspace = true, optional = true }
parking_lot = { workspace = true, optional = true }
tracing = { workspace = true }
martensite-render = { workspace = true, optional = true }
kurbo = { workspace = true, optional = true }

[dev-dependencies]
martensite-test = { workspace = true }
glam = { workspace = true }

[features]
default = []
# Enables the `render_hud` method that emits paint commands into a
# `martensite_render::PaintList`. Off by default to avoid pulling the
# render crate into consumers that only want the data model.
render = ["dep:martensite-render", "dep:kurbo"]
# Hybrid command-ledger + snapshot time-travel debugging. Pulls in
# martensite-history (ChangeOp journal) and martensite-reactive (source
# write journal + signal snapshots) and enables arena snapshots in
# martensite-core. Compiles out entirely when disabled — zero production
# overhead.
devtools-timemachine = [
    "dep:martensite-history",
    "dep:martensite-reactive",
    "dep:parking_lot",
    "martensite-core/devtools-timemachine",
    "martensite-reactive/devtools-timemachine",
]

[lints]
workspace = true