[package]
edition = "2024"
rust-version = "1.88"
name = "tsoracle-yieldpoint"
version = "1.1.0"
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