[package]
edition = "2024"
name = "sync-oneshot"
version = "0.1.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = """
A minimal oneshot channel for synchronous Rust.
"""
documentation = "https://docs.rs/sync-oneshot"
readme = "README.md"
keywords = [
"channel",
"oneshot",
"message",
]
license = "MIT"
repository = "https://github.com/locksmith-rs/sync-oneshot.git"
[lib]
name = "sync_oneshot"
path = "src/lib.rs"
[[test]]
name = "oneshot"
path = "tests/oneshot.rs"
[[bench]]
name = "basic"
path = "benches/basic.rs"
harness = false
[[bench]]
name = "thread"
path = "benches/thread.rs"
harness = false
[dependencies]
[dev-dependencies.criterion]
version = "0.5"
features = ["html_reports"]
[dev-dependencies.oneshot]
version = "0.2"
features = ["std"]
[dev-dependencies.tokio]
version = "1"
features = ["sync"]
[target."cfg(loom)".dependencies.loom]
version = "0.7"
[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(loom)"]