# 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 = "ranked-semaphore"
version = "0.1.0"
authors = ["YeungKC <ranked-semaphore@YeungKC.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A high-performance ranked semaphore with priority support"
documentation = "https://docs.rs/ranked-semaphore"
readme = "README.md"
keywords = [
    "async",
    "semaphore",
    "priority",
    "tokio",
    "sync",
]
categories = [
    "asynchronous",
    "concurrency",
]
license = "MIT"
repository = "https://github.com/YeungKC/ranked-semaphore"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

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

[[test]]
name = "basic_test"
path = "tests/basic_test.rs"

[[test]]
name = "concurrency_test"
path = "tests/concurrency_test.rs"

[[test]]
name = "permit_management_test"
path = "tests/permit_management_test.rs"

[[test]]
name = "priority_test"
path = "tests/priority_test.rs"

[[test]]
name = "sync_semaphore"
path = "tests/sync_semaphore.rs"

[[test]]
name = "sync_semaphore_owned"
path = "tests/sync_semaphore_owned.rs"

[dev-dependencies.tokio]
version = "1.0"
features = ["full"]
