[package]
edition = "2024"
name = "sendwrap-fn"
version = "0.20.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Macro to wrap closures in a `send_wrapper::SendWrapper` so they are `Send + Sync`"
readme = "README.md"
keywords = [
"send",
"sync",
"closure",
"send-wrapper",
"macro",
]
categories = [
"rust-patterns",
"wasm",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/Synphonyte/leptos-use"
[package.metadata.docs.rs]
features = []
rustc-args = ["--cfg=web_sys_unstable_apis"]
rustdoc-args = ["--cfg=web_sys_unstable_apis"]
[features]
[lib]
name = "sendwrap_fn"
path = "src/lib.rs"
[[test]]
name = "sendwrap_fn"
path = "tests/sendwrap_fn.rs"
[dependencies.send_wrapper]
version = "0.6"
[target.'cfg(target_arch = "wasm32")'.dev-dependencies.wasm-bindgen-test]
version = "0.3"
[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(web_sys_unstable_apis)"]