profiler 0.1.3

Multi-span metrics based profiler and benchmarking library for Rust
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"
name = "profiler"
version = "0.1.3"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Multi-span metrics based profiler and benchmarking library for Rust"
readme = "README.md"
license = "MIT OR Apache-2.0"
repository = "https://github.com/vldm/profiler"

[features]
default = ["libc"]
libc = [
    "dep:libc",
    "dep:num_cpus",
]

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

[[bench]]
name = "easy"
path = "benches/easy.rs"
harness = false

[[bench]]
name = "macro_extended"
path = "benches/macro_extended.rs"
harness = false

[[bench]]
name = "tracing"
path = "benches/tracing.rs"
harness = false

[[bench]]
name = "typed_fibonacci"
path = "benches/typed_fibonacci.rs"
harness = false

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

[dependencies.num_cpus]
version = "1.17.0"
optional = true

[dependencies.perf-event]
version = "0.4.9"

[dependencies.profiler_macros]
version = "0.1.2"

[dependencies.serde]
version = "1.0.228"
features = ["derive"]

[dependencies.serde_json]
version = "1.0.149"

[dependencies.thread_local]
version = "1.1.9"

[dependencies.tracing]
version = "0.1.44"

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