1[package]
2name = "send_wrapper"
3version = "0.6.0"
4edition = "2018"
5authors = ["Thomas Keh"]
6license = "MIT/Apache-2.0"
7description = """
8This Rust library implements a wrapper type called SendWrapper which allows you to move around non-Send types
9between threads, as long as you access the contained value only from within the original thread. You also have to
10make sure that the wrapper is dropped from within the original thread. If any of these constraints is violated,
11a panic occurs."""
12keywords = ["send", "wrapper", "thread_local"]
13readme = "README.md"
14repository = "https://github.com/thk1/send_wrapper"
15documentation = "https://docs.rs/send_wrapper"
16categories = ["rust-patterns"]
17
18[features]
19futures = ["futures-core"]
20
21[dependencies]
22futures-core = { version = "0.3", optional = true }
23
24[dev-dependencies]
25futures-executor = "0.3"
26futures-util = "0.3"
27
28[package.metadata.docs.rs]
29all-features = true
30# Needed to add "Available on crate feature `futures` only." messages to docs
31rustdoc-args = ["--cfg", "docsrs"]
32