[package]
edition = "2024"
rust-version = "1.92"
name = "typst-timing"
version = "0.15.0"
authors = ["The Typst Project Developers"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Performance timing for Typst."
homepage = "https://typst.app"
readme = "README.md"
keywords = ["typst"]
categories = ["compilers"]
license = "Apache-2.0"
repository = "https://github.com/typst/typst"
resolver = "2"
[features]
wasm = ["dep:web-sys"]
[lib]
name = "typst_timing"
path = "src/lib.rs"
[dependencies.parking_lot]
version = "0.12.1"
[dependencies.serde]
version = "1.0.184"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[target.'cfg(target_arch = "wasm32")'.dependencies.web-sys]
version = "0.3"
features = [
"Window",
"WorkerGlobalScope",
"Performance",
]
optional = true
[lints.clippy]
blocks_in_conditions = "allow"
comparison_chain = "allow"
derived_hash_with_manual_eq = "allow"
disallowed_methods = "warn"
iter_over_hash_type = "warn"
manual_is_multiple_of = "allow"
manual_range_contains = "allow"
mutable_key_type = "allow"
uninlined_format_args = "warn"
wildcard_in_or_patterns = "allow"