Wez Furlong
75eb16bec4
move spawn_task into a new promise::spawn module
2020-01-16 03:50:48 -08:00
Wez Furlong
9a2c7a1485
failure -> anyhow + thiserror
2019-12-14 21:43:05 -08:00
Wez Furlong
10a0006eaf
window: fix build for examples post mouse coords changes
2019-11-23 16:46:46 -08:00
Wez Furlong
14fbf43485
promise: more properly implement Future::poll
...
The future won't ever complete if you don't connect the waker
from the context!
Prove this out by making the windowops functions async and
verifying them in the async example
2019-11-23 08:16:12 -08:00
Wez Furlong
152874dd23
window: fixup the async example for stable async
2019-11-23 08:16:12 -08:00
Wez Furlong
91e6bb4a5a
rustfmt
2019-09-29 12:29:34 -07:00
Wez Furlong
99579bfca2
make it possible to build async example on stable rust
...
This should make the CI a bit happier
2019-09-28 22:00:07 -07:00
Wez Furlong
6d902d8a39
introduce a Rect type
2019-09-21 00:19:31 -07:00
Wez Furlong
bdc634276d
plumbing for polling std::future::futures on macos
2019-09-15 19:09:08 -07:00