# 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 = "2024"
rust-version = "1.88"
name = "tsoracle-yieldpoint"
version = "0.1.5"
authors = ["Sebastian Thiebaud <sebastian@prismarisk.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Async yield points: tokio::sync::Notify-backed test injection sites, the async sibling of fail-rs failpoints"
homepage = "https://github.com/prisma-risk/tsoracle"
readme = "README.md"
keywords = [
    "testing",
    "async",
    "tokio",
    "yield",
    "failpoint",
]
categories = [
    "asynchronous",
    "development-tools::testing",
]
license = "Apache-2.0"
repository = "https://github.com/prisma-risk/tsoracle"
resolver = "2"

[features]
default = []
yieldpoints = [
    "dep:tokio",
    "dep:parking_lot",
]

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

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

[dependencies.tokio]
version = "1"
features = [
    "macros",
    "rt-multi-thread",
    "sync",
    "time",
    "net",
    "fs",
]
optional = true
