[package] name = "tokenlock" version = "0.3.8" authors = ["yvt "] license = "MIT/Apache-2.0" readme = "README.md" repository = "https://github.com/yvt/tokenlock" description = """ Provides cell types that decouple permissions from data. """ keywords = ["token", "lock", "cell", "ghost", "borrow"] categories = ["rust-patterns", "no-std"] edition = "2018" [features] default = ["std"] std = ["spin", "alloc"] alloc = [] unstable = [] doc_cfg = [] [badges] maintenance = { status = "passively-maintained" } [dependencies] spin = { version = "0.9.2", optional = true } [dependencies.const-default_1] package = "const-default" version = "1" optional = true default-features = false [dev-dependencies] rayon = "1.5.1" futures = "0.3.17" tokio = { version = "1.11.0", features = ["rt-multi-thread"] } async-scoped = { version = "0.7.0", features = ["use-tokio"] } log = "0.4" env_logger = "0.9" [build-dependencies] rustc_version = "0.4.0" [package.metadata.docs.rs] all-features = true