summaryrefslogtreecommitdiff
path: root/Cargo.toml
blob: 19eecb71d9a44d4d8d0f2e3b0da7a8734c28ad42 (plain)
[package]
name = "happylock"
version = "0.3.0"
authors = ["Mica White <botahamec@outlook.com>"]
edition = "2021"
rust-version = "1.65"
description = "Free deadlock prevention"
documentation = "https://docs.rs/happylock"
readme = "README.md"
repository = "https://github.com/botahamec/happylock/"
license = "CC0-1.0"
keywords = ["deadlock", "mutex", "rwlock"]
categories = ["concurrency"]

[dependencies]
thread_local = "1"
once_cell = "1"
scopeguard = "1"
lock_api = "0.4"
parking_lot = { version = "0.12", optional = true }
spin = { version = "0.9", optional = true }

mutants = "0.0.3"  # used to skip functions that can't run

[features]
default = ["parking_lot"]