[[bench]]
harness = false
name = "benchmark"
[dependencies.anyhow]
version = "1.0"
[dependencies.bincode]
optional = true
version = "1.3"
[dependencies.byteorder]
version = "1.0"
[dependencies.cfg-if]
version = "1.0"
[dependencies.lz4_flex]
default-features = false
optional = true
version = "0.11"
[dependencies.once_cell]
version = "1.0"
[dependencies.parking_lot]
optional = true
version = "0.12"
[dependencies.serde]
features = ["derive", "rc"]
optional = true
version = "1.0"
[dev-dependencies.criterion]
version = "0.5"
[features]
default = []
lz4 = ["dep:lz4_flex"]
packing = ["dep:bincode", "dep:parking_lot", "lz4", "serde"]
serialization = ["packing"]
web = ["dep:js-sys", "dep:web-time"]
zstd = ["dep:zstd", "dep:ruzstd"]
[package]
authors = ["Embark <opensource@embark-studios.com>"]
categories = ["development-tools::profiling"]
description = "Simple instrumentation profiler for games"
edition = "2018"
homepage = "https://github.com/EmbarkStudios/puffin"
include = ["**/*.rs", "Cargo.toml", "README.md", "../puffin.jpg"]
keywords = ["profiler", "instrumentation", "gamedev"]
license = "MIT OR Apache-2.0"
name = "puffin"
readme = "README.md"
repository = "https://github.com/EmbarkStudios/puffin"
resolver = "2"
version = "0.18.1"
[package.metadata.docs.rs]
all-features = true
[target."cfg(not(target_arch = \"wasm32\"))".dependencies.zstd]
optional = true
version = "0.12.3"
[target."cfg(target_arch = \"wasm32\")".dependencies.js-sys]
optional = true
version = "0.3"
[target."cfg(target_arch = \"wasm32\")".dependencies.ruzstd]
optional = true
version = "0.4.0"
[target."cfg(target_arch = \"wasm32\")".dependencies.web-time]
optional = true
version = "0.2"