[package] name = "waker-fn" # When publishing a new version: # - Update CHANGELOG.md # - Create "v1.x.y" git tag version = "1.2.0" authors = ["Stjepan Glavina "] edition = "2018" rust-version = "1.51" description = "Convert closures into wakers" license = "Apache-2.0 OR MIT" repository = "https://github.com/smol-rs/waker-fn" homepage = "https://github.com/smol-rs/waker-fn" documentation = "https://docs.rs/waker-fn" keywords = ["async", "waker", "wake", "closure", "callback"] categories = ["concurrency"] exclude = ["/.*"] [features] # Uses portable-atomic polyfill atomics on targets without them portable-atomic = ["portable-atomic-util"] [dependencies] portable-atomic-util = { version = "0.2", optional = true, default-features = false, features = ["alloc"] }