[package]
edition = "2021"
rust-version = "1.80"
name = "locktick"
version = "0.6.0"
authors = ["ljedrz <ljedrz@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Automated lock accounting & profiling"
documentation = "https://docs.rs/locktick"
readme = "README.md"
keywords = [
"deadlock",
"lock",
"profiling",
"utility",
]
categories = [
"concurrency",
"development-tools",
]
license = "CC0-1.0"
repository = "https://github.com/ljedrz/locktick"
[features]
default = ["std"]
parking_lot = ["dep:parking_lot"]
std = []
test = []
tokio = ["dep:tokio"]
tracing = ["dep:tracing"]
[lib]
name = "locktick"
path = "src/lib.rs"
[[test]]
name = "common"
path = "tests/common.rs"
[[test]]
name = "parking_lot"
path = "tests/parking_lot.rs"
[[test]]
name = "std"
path = "tests/std.rs"
[[test]]
name = "tokio"
path = "tests/tokio.rs"
[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"
features = ["std"]
optional = true
default-features = false
[dev-dependencies.serial_test]
version = "3"
features = ["async"]
default-features = false
[dev-dependencies.tokio]
version = "1"
features = [
"macros",
"rt",
"time",
]