# 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"
rust-version = "1.71.0"
name = "parking_lot_core"
version = "0.9.12"
authors = ["Amanieu d'Antras <amanieu@gmail.com>"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "An advanced API for creating custom synchronization primitives."
readme = false
keywords = [
    "mutex",
    "condvar",
    "rwlock",
    "once",
    "thread",
]
categories = ["concurrency"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/Amanieu/parking_lot"

[package.metadata.docs.rs]
rustdoc-args = ["--generate-link-to-definition"]

[features]
deadlock_detection = [
    "petgraph",
    "backtrace",
]
nightly = []

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

[dependencies.backtrace]
version = "0.3.60"
optional = true

[dependencies.cfg-if]
version = "1.0.0"

[dependencies.petgraph]
version = "0.6.0"
optional = true

[dependencies.smallvec]
version = "1.6.1"

[target.'cfg(target_os = "redox")'.dependencies.redox_syscall]
version = "0.5"

[target."cfg(unix)".dependencies.libc]
version = "0.2.95"

[target."cfg(windows)".dependencies.windows-link]
version = "0.2.0"
