[package]
name = "setup_read_cleanup"
version = "0.2.0"
authors = ["Takayuki Sato <sttk.xslet@gmail.com>"]
edition = "2021"
rust-version = "1.63.0"
description = "A library for safely transitioning through the three phases of shared resource access: setup, read, and cleanup."
documentation = "https://docs.rs/setup_read_cleanup"
readme = "README.md"
repository = "https://github.com/sttk/setup_read_cleanup-rust"
license = "MIT"
keywords = ["shared-resource", "thread-safe", "static-safe", "phase-transition", "graceful"]
categories = ["concurrency", "asynchronous", "rust-patterns"]
[dependencies]
tokio = { version = "1.29", features = ["rt-multi-thread", "macros"], optional = true }
[features]
default = []
setup_read_cleanup-on-tokio-rt = ["tokio"]
full = [
"setup_read_cleanup-on-tokio-rt"
]
[dev-dependencies]
once_cell = "=1.20.3"