# 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 = "2021"
name = "locktick"
version = "0.2.0"
authors = ["ljedrz <ljedrz@gmail.com>"]
description = "Automated lock accounting & profiling"
documentation = "https://docs.rs/locktick"
readme = "README.md"
keywords = [
    "lock",
    "profiling",
    "utility",
]
categories = [
    "concurrency",
    "development-tools",
]
license = "CC0-1.0"
repository = "https://github.com/ljedrz/locktick"

[dependencies.backtrace]
version = "0.3"

[dependencies.parking_lot]
version = "0.12"
optional = true

[dependencies.simple_moving_average]
version = "1"

[dependencies.tokio]
version = "1"
features = ["sync"]
optional = true

[dependencies.tracing]
version = "0.1"
optional = true

[dev-dependencies.tokio]
version = "1"
features = [
    "macros",
    "rt",
]

[features]
default = ["std"]
parking_lot = ["dep:parking_lot"]
std = []
test = []
tokio = ["dep:tokio"]
tracing = ["dep:tracing"]